[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] Error displaying a shapefile table
|
There is an operation that I added at the same time as that preference
that allows one to change the charset or a igeoresource. I can't
remember if it can also run on a layer. Try selecting the iservice or
the igeoresource and look for the operation.
On 28-Oct-08, at 15:04, "Jan Jezek" <h.jezek@xxxxxxxxxx> wrote:
Its under Window/Preferences/General/uDig UI. Usually I have to
switch UTF-8 to windows-1250 - the restarting and deleting file from
catalog is also needed.
Maybe uDig should handle this in more user friendly way.
Hope it helps,
Jan.
______________________________________________________________
Od: silvia.franceschi@xxxxxxxxx
Komu: User-friendly Desktop Internet GIS <udig-devel@xxxxxxxxxxxxxxxxxxxxx
>
Datum: 28.10.2008 13:52
Předmět: Re: [udig-devel] Error displaying a shapefile table
I can not find a list of available encoding... should I put the
name by hand?
Really don't know where to find the encoding of my shapefile...
Thanks,
Silvia
Jan Jezek wrote:
Hi,
is it possible that this error is because of encoding? Changing
the uDig encoding, restarting uDig and reopening proper file
(including delete/add file from the catalog) helped me with same
problem. >
Jan.
______________________________________________________________
Od: jesse.eichar@xxxxxxxxxxxxxx
Komu: User-friendly Desktop Internet GIS <udig-devel@xxxxxxxxxxxxxxxxxxxxx
>
Datum: 27.10.2008 15:56
Předmět: Re: [udig-devel] Error displaying a shapefile table
That is a good question. I can think of a few things.
1. The charset is incorrect. It is possible that it is
interpretting the file wrong. I think this is unlikely.
2. The field definitions in the DBbase file is wrong. Try
opening the dbf with open office and save it out again. Maybe
that will fix it.
Jesse
On 27-Oct-08, at 3:45 PM, Silvia Franceschi wrote:
Hi Jesse,
I have a shapefile in udig and try to visualize the table
view... I > always obtain this error:
!ENTRY net.refractions.udig.ui 1 0 2008-10-27 15:43:01.711
!MESSAGE error loading features in table view
!STACK 0
java.lang.IndexOutOfBoundsException: 109
at java.nio.HeapCharBuffer.get(HeapCharBuffer.java:121)
at > org > .geotools
> .
data.
shapefile.dbf.DbaseFileReader.readObject(DbaseFileReader.java: >
444)
at org.geotools.data.shapefile.dbf.DbaseFileReader.access >
$100(DbaseFileReader.java:70)
at org.geotools.data.shapefile.dbf.DbaseFileReader >
$Row.read(DbaseFileReader.java:75)
at
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore >
$Reader.read(IndexedShapefileDataStore.java:1306)
at >
org.
geotools.
data.FIDFeatureReader.readFeature(FIDFeatureReader.java: > 123)
at
org.geotools.data.FIDFeatureReader.next(FIDFeatureReader.java:95)
at >
org.
geotools.data.ReTypeFeatureReader.next(ReTypeFeatureReader.java:
> 131)
at > org > .geotools
> .
data.store.FeatureReaderIterator.next(FeatureReaderIterator.java:
65)
at > org > .geotools > .feature > .collection
> .DelegateFeatureIterator.next(DelegateFeatureIterator.java:39)
at net.refractions.udig.ui.FeatureTableContentProvider >
$ContentLoader.run(Unknown Source)
at net.refractions.udig.ui.PlatformGIS$Runner.run(Unknown Source)
at net.refractions.udig.ui.PlatformGIS$Runner.run(Unknown Source)
What could it be?
Thanks,
Silvia
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel