Timeline for How to determine if lat/long is within SABS school boundary?
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 25, 2017 at 9:14 | comment | added | Ian Turton | see docs.geotools.org/latest/userguide/library/referencing/… for a fullish discussion | |
Jan 24, 2017 at 18:49 | comment | added | Todd | Thanks for the tip. Is there a way to determine whether latitude and longitude are reversed for the point in the SABS data? I think it might be, but I want to be certain. | |
Jan 24, 2017 at 14:28 | comment | added | Ian Turton | in general you probable want to return the actual feature in sub rather than a boolean. | |
Jan 24, 2017 at 14:27 | comment | added | Todd | that is a simple and concise response that works beautifully, thanks again. Now, I just need to figure out how to determine which polygon the point belongs in and associate that with a school! | |
Jan 24, 2017 at 14:26 | vote | accept | Todd | ||
Jan 24, 2017 at 14:25 | history | edited | Ian Turton | CC BY-SA 3.0 |
added full method
|
Jan 24, 2017 at 14:24 | comment | added | Ian Turton | yes, that's all you need to do | |
Jan 24, 2017 at 14:23 | comment | added | Todd | Sorry, just clicked. You are suggesting I convert my point for test first, then test it. | |
Jan 24, 2017 at 14:22 | comment | added | Ian Turton | I'm assuming that Point P in my example is your lat/lon point - then use Point RP to search with | |
Jan 24, 2017 at 14:21 | comment | added | Todd | Thanks, @iant. I understand what you are saying regarding the projections, but I don't know where to get the original points (p) from your example or how I use them once I have them. Should I be creating a new shapefile from the points and using that for searching the points-in-polygons? | |
Jan 24, 2017 at 13:41 | history | answered | Ian Turton | CC BY-SA 3.0 |