I am not sure (sorry I'm just learning these things).
I just have a file with a set of Lat (-90 to 90) and Lon (-180 to 180), does
that help figure that out?
The only thing I know is that they are coming from the same source as my
shapes.. the shapes use GCS_North_American_1983 CRS but the points don't
have anything attached to them that would make notion of any ellipsoid.
On Sun, Mar 13, 2011 at 10:53 PM, Michael Bedward <[email protected]
> wrote:
> Hello Alessandro,
>
> You don't mention whether or not your test points use the same
> ellipsoid as your shapes. If you know that they are the same then
> obviously no re-projection is necessary :)
>
> Michael
>
> On 14 March 2011 11:55, Alessandro Ferrucci
> <[email protected]> wrote:
> > 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
> >
> >
>
--
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