Paid affiliate advertisement
I need someone who can develop the GMAP API module for drupal.
psi-borg - May 23, 2007 - 02:51
If I hand you an ESRI Shapefile that has specific legal boundaries (state, county, school district, subdivision,...) can you get the gmap module to
1. accept user input as a street address and zip code (2 text fields) and
2. return their location on the gmap and whether the address is within a given boundary (for example, a subdivision).
If you can do this, how much time would it take and how much would it cost. Only timely bids with proven experience will be accepted. This will be the first of many GIS/GMAP projects for the right person or group.
Thanks.

Location module?
That should help if that's what you need. http://drupal.org/project/location
First part should be easy...
It should be relatively easy to take user input in the form of a street address and plot the point on the map using Gmap and views, but I don't think the Drupal implementation of Google Maps makes it possible to check whether a point is inside of a region.
You could certainly calculate the distance between two points, ie: see how far an address is from a given zip code, which might be a useful proxy for this data, but as far as I know, neither GMap nor Location is set up for this type of calculation. If there's a way to easily get at this, I'd love to know.
If you're interested in getting going with this by simply plotting the locations, all you'll need is the location module and GMap. The documentation in the handbook is outdated; you don't need to do anything with any PHP, but you need to be sure to activate the GMap views contributed module which should be included with GMap.
Does that help at all?
thanks for your help...
thanks for your help...
It should be relatively easy to take user input in the form of a street address and plot the point on the map using Gmap and views
if you can transform the address into a coordinate (say, as the geographic center of the property at the address) that would at least be a good start. If you can transform the address into a set of coordinates (say, the vertices of the property as a polygon) that would be even better... i could then calculate if the addressed property is within a given boundary.
gmap plots of the coordinates worked out of the box, but there was no option to take a street address as input. ideally i'd also like a shapefile boundary overlay in the case only the property center is given... as visual verification.
if someone is very familiar with the gmap api hooks, that would be good too...
Okay, the aspect of locating
Okay, the aspect of locating the address and having a user input it is trivial. Now for your location being within a certain boundary... When the address loads, an algorithm can then place all polygons in the shape file that have an area enclosed in the user view. You can then draw the polygons using the encoded polygon lines using the polylines in gmaps api. However, here is what may be hard. Is this going to be user determined (IE they see their property fall within a certain overlay and then they know they are in the district, or computer determined? You see it would be very difficult to map out the exact dimensions of the property without additional info. Like if you had a large polygon that was say, a school district.. an overlay can be created for all school districts in that area (the view created when the address is mapped), and one can see themselves in there, but determining the vertices of the property as a polygon given an address is not possible unless for a given geometric point, you have the surveying info etc for that property. You can use some tricks if it is not necessary to show the exact property dimensions.
hi papile. workflow: user
hi papile.
workflow: user enters address >> address references a parcel polygon >> algorithm determines which region the parcel polygon is in >> parcel polygon and regional polygon is mapped on gmap >> fin
mathematically, this is determining whether region A is a subset of region R1, R2, ..., RN given that there are N regions. in case A is a subset of more than one R, we use region A centroid.
with our shapefile data, the address points to a given polygon and also the polygon's centroid. the goal is to have the computer algorithm determine if the centroid (or better, if the polygon) is within a given regional boundary (on occasion this is a problem). however, in most cases visual verification that a centroid is within a given regional boundary will work - but text output will be required that definitively says "this centroid is in this region".
I'd make it
send me email, please.
ICQ 298-237-874
YM domdoo2006
Skype ID: domdoo
AIM ID: hrefun