[Mapserver-users] Spatial/geometric extent of DGN?
Twan Kogels
twan at twansoft.com
Mon Sep 8 03:41:36 PDT 2003
Vincent,
Thanks for the usefull reply! I just tryed your suggestion and it works,
but the -so option was not known. It appears it's introduced in gdal 1.1.9
and i was using 1.1.8. No problem, i've downloaded/installed the
1.1.9 version and the -so option is now known. I tested it on a DGN file
and the Extent: is printed. Now i'm gonna try to get the dgn to work with
mapserver.
The given link is a handy link, i've bookmarked it.
Best regards,
Twan
At 12:19 8-9-2003, you wrote:
>Twan,
>
>running ogr on a file without specifying the layer you want info on will
>output the available layers. Even with files with only one layer. This is
>just how ogr works. In your case the layer name is 'elements', so
>specifying this after the ogrinfo [filename.dgn] command will show you the
>info on the layer. Note that this will also output info on all geometries,
>so you might want to use the summary option (-so). E.g. try 'ogrinfo -so
>[filename.dgn] elements'
>
>cheers,
>Vincent.
>
>btw have a look at www.remotesensing.org/gdal/ogr/ogr_utilities.html
>
>On 11:34 Mon 08 Sep , Twan Kogels wrote:
> > Hello,
> >
> > I've received a couple of DGN files orginal made in Microstation. I ran
> > "ogrinfo" (a program supplied with gdal) on a single dgn and it output was:
> >
> > ========
> > using driver `DGN' successful.
> > 1: elements
> > ========
> >
> > So i guess gdal can read the dgn file. But now i want mapserver to display
> > the DGN files. So i made a .map file and got stuck when defining the
> EXTENT
> > part of the map file, cause i don't know it.
> >
> > When using ESRI shapefile, a program named "shpinfo" gives me the
> > spatial/geometric extent of a shapefile which i then use in the .map file.
> >
> > Is there a program (for *nix) which gives me the spatial/geometric extent
> > of a DGN file?
> >
> > Best regards,
> > Twan Kogels
> >
> > _______________________________________________
> > 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