celic / echo_location_server

A server that echoes locations nearby the given point.
1 stars 0 forks source link

GeoJson #9

Open arempe93 opened 10 years ago

arempe93 commented 10 years ago

Why not use GeoJson for this? You can use this instead of haversine. They have prebuilt json files for states, counties, etc. Check this out for an example of geojson in action. This is using prebuilt city files. You could just map the nearby points within the boundries of county or maybe state?

celic commented 10 years ago

From what I see, not every town/city has a profile. Also there doesn't seem like a clear way to compare points for city bounds.

arempe93 commented 10 years ago

They do its just city limits don't cover all the land in a state. Just use counties/states. Google Maps uses geojson. It would be really easy. Then they can pinch zoom over their city, etc.

arempe93 commented 10 years ago

Also: https://github.com/maxogden/geojson-js-utils

arempe93 commented 10 years ago

Also.....FROM NONE OTHER THAN RPI... http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html

celic commented 10 years ago

Yeah but but but I don't really want to learn ANOTHER new thing right now. I won't close the issue, but I'll stick with Haversine for now until I get some sort of client working.