[Mapserver-users] Does anyone know how to view an individual layer in a DGN file?

Stephen Clark stephen.clark at focus.ca
Fri Dec 12 08:21:57 PST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_007E_01C3C089.024ED840
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,

I have some Microstation DGN file that are comprised of several layers =
of data.

How would I view only one layer at a time using a layer file?


Here is what I have to view the entire DGN file:

LAYER
   NAME "FDP_2001_dgn"
   TYPE LINE
   STATUS ON
   CONNECTIONTYPE OGR
   CONNECTION =
"d:/sclark1/server_data_copy/datasets/forest-data/TPL/fdp-dgn-utm/fdp_200=
1_utm.dgn"
  CLASS
 COLOR 0 255 0
  END
  PROJECTION
     "AUTO"
  END
  METADATA
    WMS_TITLE "FDP 2001"
    WMS_ABSTRACT "N/A"
    WMS_SRS "EPSG:26910"
  END
END


There are approximately 24 layers in the file.

Thanks,
Stephen


------=_NextPart_000_007E_01C3C089.024ED840
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have some Microstation DGN file that =
are=20
comprised of several layers of data.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>How would I view only one layer at a =
time using a=20
layer file?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Here is what I have to view the entire =
DGN=20
file:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>LAYER<BR>   NAME=20
"FDP_2001_dgn"<BR>   TYPE LINE<BR>   STATUS=20
ON<BR>   CONNECTIONTYPE OGR<BR>   CONNECTION=20
"d:/sclark1/server_data_copy/datasets/forest-data/TPL/fdp-dgn-utm/fdp_200=
1_utm.dgn"<BR> =20
CLASS<BR> COLOR 0 255 0<BR>  END<BR> =20
PROJECTION<BR>     "AUTO"<BR>  END<BR> =20
METADATA<BR>    WMS_TITLE "FDP 2001"<BR>  =20
 WMS_ABSTRACT "N/A"<BR>    WMS_SRS =
"EPSG:26910"<BR> =20
END<BR>END<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>There are approximately 24 layers in =
the=20
file.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Stephen</DIV></FONT>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> </DIV></FONT></BODY></HTML>

------=_NextPart_000_007E_01C3C089.024ED840--




More information about the MapServer-users mailing list