Re: Problem with creation of SpatialIndex(ssx) file for Shape file co ntaining Polyline/Arc shapetypes

From: Don Dietrick <dietrick@bbn.com>
Date: Thu Feb 07 2002 - 15:33:11 EST

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"]
Received on Thu Feb 7 15:34:05 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT