Well, the files are the same size, so that's good. My guess is that
they (the conversion code) are not writing out offset locations of the
shape graphics in the correct endian order - that's why the openmap code
seeks to an offset to read in the first graphic and doesn't find values
that make sense.
- Don
On Friday, February 8, 2002, at 04:45 AM, Geo-IT-GmbH wrote:
> Hi Don,
>
> thanks for Your reply.
> It seems, as if the program, we use (MicroImages TNTmips 6.6) to
> convert the
> original Shapefiles from GaussKrueger to lat/long changes something in
> the
> header of line-files, so that OpenMap can not handle it.
> But we don´t know, what causes the failure. I attach the files before
> (flgw_GK.shp) and after the conversion (flgw_latlon.shp).
> Perhaps You have an idea.
>
> Thank You,
> Greetings,
> Shasi
> <<geoit.ZIP>>
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: Don Dietrick [SMTP:dietrick@bbn.com]
>> Gesendet am: Donnerstag, 7. Februar 2002 21:33
>> An: Geo-IT-GmbH
>> Cc: 'openmap-users@bbn.com'
>> Betreff: Re: Problem with creation of SpatialIndex(ssx) file for
>> Shape file co ntaining Polyline/Arc shapetypes
>>
>> Hi Sashi,
>>
>> I had the same problem you did with your file. I'm not sure why. If I
>> run with the -Ddebug.spatialindex command line argument, then I also
>> get:
>>
>> Shapefile SpatialIndex expected 15073518 bytes, but got 22176 bytes
>> instead.
>>
>> So it looks like something's off.
>>
>> I do have other files that contain arcs, though, and they display
>> normally. Do you have any more information about the file? Where it's
>> from, how many graphics are supposed to be in it, etc?
>>
>> - Don
>>
>>
>> On Thursday, February 7, 2002, at 02:04 AM, Geo-IT-GmbH wrote:
>>
>>> Hi,
>>>
>>> I have a shape file named lat_long_gross.shp which contains shapetype
>>> -Polyline.
>>> I tried creating the ssx file using
>>> java com.bbn.openmap.layer.shape.SpatialIndex -c lat_long_gross.ssx
>>> lat_long_gross.shp and the output is:
>>>
>>> Shapefile SpatialIndex increasing recBuffSize to 15073510
>>> Shapefile SpatialIndex Found 1 records
>>> Shapefile SpatialIndex recBufSize = 15073510
>>>
>>> This created a ssx file with only one record.Tried displaying the
>>> recLengthwords field, it gives 6684770.
>>>
>>> And also the output of using
>>> java com.bbn.openmap.layer.shape.Spatialndex -d -b lat_long_gross.ssx
>>>
>>> is Record 1:50,7536755;38,999999999015785,
>>> -9.999999999791404,39.99999999586537,-9.999999999306624.
>>>
>>> SpatialIndex.java has uses indexPolygons method even for Shapetype
>>> Polyline/Arc .So creation of
>>> index file does not support shapefile containing Polyline/Arc .Please
>>> clarify. Enclosing the shapefile for
>>> reference. Looking forward to hear from you. Thanks in Advance,
>>>
>>> Warm Regards,
>>>
>>> Shasi
>>>
>>> <<lat_long_gross.shp>>
>>>
>>>
>>> ***************************************************
>>> Geo-IT GmbH - Geoinformatik, IT-Services
>>> Guggenberg 3, D-82380 Peissenberg
>>> Tel: 08803-498372, Fax: 08803-498373
>>> eMail: info@geo-it.com - Homepage: http://www.geo-it.com
>>> ***************************************************
>>>
>>>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
>> --
>> [To unsubscribe to this list send an email to "majdart@bbn.com"
>> with the following text in the BODY of the message "unsubscribe
>> openmap-users"]
>
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Fri Feb 8 09:02:35 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT