[mapserver-users] Tileindex of DGN files

TA useintowngas at gmail.com
Tue Oct 13 23:12:38 EDT 2009




Brent Fraser wrote:
> 
> 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
>>
> 
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 

Dear Brent Fraser,

       I put in a style object and the files are shown. I think in previous
the DGN files are shown but the lines are black in colour, and at the same
time my blackground is also black. So I see nothing.
       Thanks a lot!!!

Regards,
TA
-- 
View this message in context: http://n2.nabble.com/Tileindex-of-DGN-files-tp3820288p3820471.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list