[gdal-dev] Feature Style

Andy Tompkins atompkins at fastmail.fm
Wed Mar 18 16:05:03 EDT 2009


Hi

Thank you for the information!

At my work, we have a proprietary spatial database.  We have outgrown
our current structure used to describe the style of features as we want
to more richly describe the style.

Can you suggest a replacement for us? What do others use?

Thanks,

Andy.

On Tue, 17 Mar 2009 21:04 +0100, "Geo Aspects Development"
<dev at geoaspects.com> wrote:
> hi,
>
> The only format I have found which supports feature styles is MapInfo
> tab files The spec is hardly supported at all, infact even the
> dataSource/layer/ feature hierarchy is not supported - everything is
> at feature level I would guess they are not widely used (for example,
> you cannot even list the available styles (from either a StyleManager
> or a StyleTable)
> - something which is almost mandatory when writing a UI application)
>   There is no "interpretation" as such - the string is parsed into
>   parts or tools - its up to you how you interpret these components in
>   the UI
>
> Although I realize its a complex area I must confess that I have had
> more problems with this part of the API than the rest of OGR and GDAL
> put together!
>
> Regards Tim
>
> On Mar 17, 2009, at 8:07 PM, Andy Tompkins wrote:
>
> > Hi,
> >
> > I have just started to use the feature styles in ogr_featurestyle.h,
> > documented at http://www.gdal.org/ogr/ogr_feature_style.html.  I
> > really like them.
> >
> > I have a few questions: How much are they supported? Are they widely
> > used? The OGRStyleSymbol does not quite match the document.  The
> > code has a  place for fontname and the doc has a place for outline
> > style.  I assume the doc is correct? How is the angle for a symbol
> > interpreted?  I assume as an absolute  angle.  I would like to draw
> > arrows along a line to show direction, but each arrow symbol would
> > need a different angle to match the tangent of the line.  Can I
> > represent this with a SYMBOL string?
> >
> > Thanks in advance, Andy Tompkins
> > _______________________________________________
> > gdal-dev mailing list gdal-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>


More information about the gdal-dev mailing list