Thanks for the info Frank.So if I understand it correctly than class OGRFeature should have one method that should give me value of attribute called 'LAYER' (or similar). Please what is the method called - I can not see it in the documentation?
thanks again. On Thu, Nov 1, 2012 at 11:18 PM, Frank Warmerdam <[email protected]>wrote: > > > On Thu, Nov 1, 2012 at 3:11 PM, Miroslav Karpis <[email protected] > > wrote: > >> Hi, please can you help me with following: >> >> 1) When I open DGN file which has for example 10 layers, >> OGRDataSource::GetLayerCont () returns 1. What can be the problem? The >> documentation says that OGR DGN is supporting layers. >> > > Miroslav, > > DGN layers are represented as an attribute in the features of the single > OGR layer. I think the attribute is called LAYER. > > Because of the way the dgn file is structured it would be hard to > represent the DGN layers as OGR layers efficiently. Also, since all > features have the same schema there was relatively little value in keeping > them as distinct layers. > > >> 2) Does anybody know about an example of conversion from DGN to SVG? >> > > I think MapServer has some sort of SVG support and given that MapServer > has at least some degree of "autostyling" available from OGR DGN it might > capture some of the look and feel of the original DGN. > > I doubt this is a well trod route. > > Best regards, > -- > > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up | Frank Warmerdam, > [email protected] > light and sound - activate the windows | http://pobox.com/~warmerdam > and watch the world go round - Rush | Geospatial Software Developer > >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
