[mapserver-users] Need help with OGR/DGN

Sara Yurman syurman at spatialfocus.com
Wed Mar 20 17:06:12 PST 2002


Hi Thomas,

I haven't yet the ogr attributes to work in my mapfile, but this message 
gave me an idea that looks like it will work for now.

This:

ogrinfo 934413.DGN elements | grep -B1 POINT

is giving me a series of point locations like this:

  Style = LABEL(t:"GRANFORD ROAD",c:#f0f000,s:10g)
  POINT (1941791.001 344019.395)

I can center a map on locations indicated by selected strings.  Anything 
that works is good for now.  Thanks to Frank and Daniel for working with 
me, and thanks to you for sparking an idea that will save my hide for 
the moment.

Sara

T.F. van den Berg wrote:
> Sara
> Through ogr, dgn will have the following generic attributes:
> 
> Type: The integer type code as listed below in supported elements.
> Level: The DGN level number (0-63).
> GraphicGroup: The graphic group number.
> ColorIndex: The color index from the dgn palette.
> Weight: The drawing weight (thickness) for the element.
> Style: The style value for the element.
> 
> I.e through ogr no other attributes are returned. The owner of dgnlib
> however has recognized the interest, so hopefully it will be added soon!
> Regards
> Thomas




More information about the MapServer-users mailing list