Re: [Mapyrus-users] Mapyrus help
Brought to you by:
simoc
|
From: Simon C. <sim...@ya...> - 2007-06-21 20:53:26
|
Hello Luca, > on the contrary if I ask to read "vianome" string field I get thi error > > luca@amd64x2:~/GIS/mapyrus$ java -classpath mapyrus.jar > org.mapyrus.Mapyrus rete2.mapyrus > 407 > java.lang.ArrayIndexOutOfBoundsException: 407 > at org.mapyrus.dataset.ShapefileDataset.unpackString(Unknown Source) >From your example I see: $ /opt/shapelib/dbfdump -h -m rete_materiale.shp Field 0: Type=Integer, Title=`id', Width=16, Decimals=0 Field 1: Type=String, Title=`codut', Width=0, Decimals=0 Field 2: Type=Integer, Title=`n1', Width=16, Decimals=0 Field 3: Type=String, Title=`n1t', Width=33, Decimals=0 Mapyrus has an error reading the 'codut' fields which has zero width. I did not know zero width attribute fields are allowed! I have now fixed this problem and attributes from this file are read correctly I will release the next version of Mapyrus with this fix included on Sunday 24th June. Regards, Simon Chenery. Mapyrus Developer ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 |