[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 11:21:57 EST 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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>LAYER<BR>&nbsp;&nbsp; NAME=20
"FDP_2001_dgn"<BR>&nbsp;&nbsp; TYPE LINE<BR>&nbsp;&nbsp; STATUS=20
ON<BR>&nbsp;&nbsp; CONNECTIONTYPE OGR<BR>&nbsp;&nbsp; CONNECTION=20
"d:/sclark1/server_data_copy/datasets/forest-data/TPL/fdp-dgn-utm/fdp_200=
1_utm.dgn"<BR>&nbsp;=20
CLASS<BR>&nbsp;COLOR 0 255 0<BR>&nbsp; END<BR>&nbsp;=20
PROJECTION<BR>&nbsp;&nbsp;&nbsp;&nbsp; "AUTO"<BR>&nbsp; END<BR>&nbsp;=20
METADATA<BR>&nbsp;&nbsp; &nbsp;WMS_TITLE "FDP 2001"<BR>&nbsp;&nbsp;=20
&nbsp;WMS_ABSTRACT "N/A"<BR>&nbsp;&nbsp; &nbsp;WMS_SRS =
"EPSG:26910"<BR>&nbsp;=20
END<BR>END<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;</DIV></FONT></BODY></HTML>

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




More information about the mapserver-users mailing list