On Thu, Jul 28, 2011 at 12:56 AM, Geotools <[email protected]> wrote:
>
> Using Geotools 2.6 to generate shape files, I run into
> some problem. Can anyone shed some light son the following :
>
> 1) Sorted *.DBF files
> Using the example codes (essentially duplicating the code in
> the Geometry CRS tutorials), I am unable to sort the resulting
> *.dbf file. The output from the database is sorted, and the
> featurecollection seem to be sorted as well. Is it possible to
> get a *.dbf file sorted according to a given key ?

Not that I know of

>
> 2) Projection
> I have to change the default projection. However, after changing
> coordinate system/projection, the exported projection file is
> not readable in e.g. ArcCatalog 10. There seems to be an issue
> with line shifts. Trying to use the *parseWKT() method does
> not seem to work either.
> Any ideas anyone ?

Known issue:
http://jira.codehaus.org/browse/GEOT-3571

The fix is on trunk, but the shapefile store would still generate
the old format as I'm still waiting for someone that has ESRI
products to confirm the prj files generated that way actually
work.

Here is a collection with almost all the EPSG codes turned
into shapefiles (it's various thousands of shapefiles, one per
known projection), can you try it out and tell me if it's working
with ESRI products?

http://demo.geo-solutions.it/share/epsg.tar.bz2

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to