Do exactly what you are doing; and check the user guide for the step to:
> CoordinateReferenceSystem crs = CRS.decode("EPSG:4326");
> shapefileDataStore.forceCRS( crs );
That will write out a "prj" file with the definition of latitude/longitude.
Jody

Barnes, Ken wrote:
> Hello All,
>
> I have a project that creates shapefiles and works like a gem with 
> just simple xy coordinates.  What I need is to take latitude/longitude 
> (or I can transform to decimal points) and create the shapefile using 
> them.  Could someone lay out the path or some simple code that I would 
> take in order to accomplish this.
> Thanks in advance
> ken
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Geotools-gt2-users mailing list
> Geotools-gt2-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>   


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to