Well my question is probably actually simpler than joining the Geometries in
the Shapefile, I already have that covered.
Here's the problem.
I have 1 Polygon geometry.
I have 1 Point created from Lat/Lon.
I want to test whether that Point falls within the polygon.
Do I have to do any transformations ? Or can I run the test with the
default Geometries created from the Shapefile and the lat/lon?
Thank you,
Alessandro
On Sun, Mar 13, 2011 at 7:38 PM, Jody Garnett <[email protected]>wrote:
>
> http://docs.codehaus.org/display/GEOTDOC/12+Using+a+Loop+to+Join+FeatureCollections
>
> --
> Jody Garnett
>
> On Monday, 14 March 2011 at 8:30 AM, Alessandro Ferrucci wrote:
>
> Hello,
> I have a shapefile that I read using geotools and extract default
> geometries for all features in shapefile.
> all the geometries in the shapefile are polygons.
> The shapefile is in the GCS_North_American_1983 CRS.
>
> Then I have a set of Lat Lon Points.
>
> I would like to take those Lat Lon points and check if they fall within any
> of the feature geometries in the shapefile.
>
> anyone have example of this?
> I'm pretty sure I have to convert Lat Lon to JTS geom Point object?
>
> Given that fact I've read the shapefile without doing any explicit
> reprojection, do I have to reproject lat lon point to same CRS as is
> declared in shapefile?
>
> thanks a lot
>
> --
> Signed,
> Alessandro Ferrucci
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
>
--
Signed,
Alessandro Ferrucci
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users