[mapserver-users] Tileindex of DGN files

Brent Fraser bfraser at geoanalytic.com
Tue Oct 13 22:56:56 EDT 2009


Try removing the Connectiontype and specify
tileindex "/ms4w/DGN/ogrindex.shp".  The empty CLASS may be a problem too;
try putting a STYLE object in there.

Best Regards,
Brent Fraser

>
> Dear all,
>    I make a tileindex to my DGN files by ogrtindex tool and create a shp
> file. The mapserver can connect to this file, but nothing is displayed.
>
> There is my code related to the DGN part:
>
> Layer
> 	Name "LND"
> 	group "raster"
> 	type line
> 	Connectiontype OGR
> 	tileindex "/ms4w/DGN/ogrindex.shp,0"
> 	tileitem "LOCATION"
> 	Maxscaledenom 400
> 	Class
> 	END
> END
>
> I have checked that the path in the shp files is correct. The DGN files is
> end with .lnd. When I generate tileindex of tif files using gdaltindex
> tool,
> it works fine.
>
> Is there anything wrong on my code? Or does ogrtindex not support .lnd
> files? But if I write the code for each DGN file individually in the
> mapfile, it also works.
>
> Can anyone help me?
>
> Thanks,
> TA
> --
> View this message in context:
> http://n2.nabble.com/Tileindex-of-DGN-files-tp3820288p3820288.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>




More information about the mapserver-users mailing list