[Mapserver-users] abnormal program termination: errors in .dgn files ?

Bart van den Eijnden bartvde at xs4all.nl
Mon Jan 12 11:34:40 PST 2004


Hi Jerfaas,

what I can judge from the results is that the problem is in OGR/Dgnlib.

ERROR 2: CPLMalloc(): Out of memory allocating -59780 bytes.

I think the best thing you can do is follow Frank Warmerdam's advice of 
filing a bug for this in the GDAL/OGR bugzilla. Maybe the data is not 
public, then perhaps you can contact Frank to find a solution for 
providing him test data.

Best regards,
Bart

On Mon, 12 Jan 2004 10:49:54 +0100, Jerfaas de Jong <JJN at DeStraat.NL> 
wrote:

> D:\PROJEC~1\OPENEV~1\bin>ogrinfo 
> C:\websites\DemoData\Naaldwijk\Data\Basis\dgn\g
> roenbuitengebied.dgn -all
> INFO: Open of 
> `C:\websites\DemoData\Naaldwijk\Data\Basis\dgn\groenbuitengebied.d
> gn'
> using driver `DGN' successful.
>
> Layer name: elements
> Geometry: Unknown (any)
> Feature Count: 17584
> Extent: (72038.923000, 439852.508000) - (78917.093000, 448702.812000)
> Layer SRS WKT:
> (unknown)
> Type: Integer (2.0)
> Level: Integer (2.0)
> GraphicGroup: Integer (4.0)
> ColorIndex: Integer (3.0)
> Weight: Integer (2.0)
> Style: Integer (1.0)
> EntityNum: Integer (8.0)
> MSLink: Integer (10.0)
> Text: String (0.0)
> ERROR 2: CPLMalloc(): Out of memory allocating -2436 bytes.
>
>
> D:\PROJEC~1\OPENEV~1\bin>ogrinfo 
> C:\websites\DemoData\Naaldwijk\Data\Basis\dgn\g
> roenhonselersdijk.dgn -all
> INFO: Open of 
> `C:\websites\DemoData\Naaldwijk\Data\Basis\dgn\groenhonselersdijk.
> dgn'
> using driver `DGN' successful.
>
> Layer name: elements
> Geometry: Unknown (any)
> Feature Count: 8961
> Extent: (74528.365000, 446255.761000) - (76025.066000, 447978.399000)
> Layer SRS WKT:
> (unknown)
> Type: Integer (2.0)
> Level: Integer (2.0)
> GraphicGroup: Integer (4.0)
> ColorIndex: Integer (3.0)
> Weight: Integer (2.0)
> Style: Integer (1.0)
> EntityNum: Integer (8.0)
> MSLink: Integer (10.0)
> Text: String (0.0)
> ERROR 2: CPLMalloc(): Out of memory allocating -59780 bytes.
>
>
>
>
>
> INFO: Open of 
> `C:\websites\DemoData\Naaldwijk\Data\Basis\dgn\groenmaasdijk.dgn'
> using driver `DGN' successful.
>
> Layer name: elements
> Geometry: Unknown (any)
> Feature Count: 5836
> Extent: (73697.012000, 441329.234000) - (74928.057000, 442542.166000)
> Layer SRS WKT:
> (unknown)
> Type: Integer (2.0)
> Level: Integer (2.0)
> GraphicGroup: Integer (4.0)
> ColorIndex: Integer (3.0)
> Weight: Integer (2.0)
> Style: Integer (1.0)
> EntityNum: Integer (8.0)
> MSLink: Integer (10.0)
> Text: String (0.0)
> OGRFeature(elements):7
>   Type (Integer) = 3
>   Level (Integer) = 7
>   GraphicGroup (Integer) = 0
>   ColorIndex (Integer) = 0
>   Weight (Integer) = 0
> -- Meer  --
>
>
>>>> Bart van den Eijnden <bartvde at xs4all.nl> 01/10/04 11:23 AM >>>
> Hi,
>
> did you try inspecting the 2 dgn files with ogrinfo?
>
> Best regards,
> Bart
>
> On Sat, 10 Jan 2004 10:36:16 +0100, Jerfaas <jjn at destraat.nl> wrote:
>
>> Hi,
>>
>> I have about 15 .dgn files to display in Mapserver. I have problems with
>> loading 2 of them, because it causes a abnormal program termination. 
>> (The
>> others can be displayed without any problems in Mapserver.)
>>
>> I can load the 2 dgn without any problems in ArcExplorer. Does any one
>> have
>> a suggestion what I can do to find out what is wrong with the 2 .dgn
>> files ?
>>
>> Thanks in advance,
>>
>> Jerfaas de Jong
>> _______________________________________________
>> Mapserver-users mailing list
>> Mapserver-users at lists.gis.umn.edu
>> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>>
>
>
>



-- 
  



More information about the MapServer-users mailing list