[gdal-dev] OGR about s_57
s duclos
sylvain_duclos at yahoo.com
Wed Sep 2 09:18:52 EDT 2009
Hi Frank,
> I know lots of people have made various levels of effort
> in
> following the S52 specification based on OGR as a feature
> reader. Perhaps some of them will speak up and
> volunteer
> additional information.
>
Here's info I send to Randy. It's border line related to OGR/S57 but
googler might find this useful:
Old IHO's S-52 Manual at 'the Wayback Machine': http://web.archive.org/web/20030323010814/http://www.iho.shom.fr/general/ecdis/pslb03_2.pdf
This manual explain how to link OGR/S-57 to S-52 for rendering.
Note that the audience is ECDIS manufacturer. Note also that is old stuff.
Finally note that this whole S-57/S-52 is about to be replace by
S-100/S-101, an extended and XML'ised version aligned on 0GC/ISO.
If all you want is color then you can find decent RGB for recent S-52
color palette by Googling.
XML'ing S-57/S-52 is just an other way to serialize ENC data.
There is provision in S-100/S-101 to embed GeoTIFF (for bathymetric stuff)
also. So, to GDAL/OGR this new stuff is not that alien.
rgds,
Sylvain.
--- On Tue, 9/1/09, Frank Warmerdam <warmerdam at pobox.com> wrote:
> From: Frank Warmerdam <warmerdam at pobox.com>
> Subject: Re: [gdal-dev] OGR about s_57
> To: "Randy" <randyqiuxy at hotmail.com>
> Cc: "GDAL/OGR mailing list" <gdal-dev at lists.osgeo.org>
> Received: Tuesday, September 1, 2009, 9:46 PM
> Randy wrote:
> > Hi, everyone,
> >
> > I’m now interesting in displaying
> ENCs.
> >
> > I know the OGR can support the s57 format
> files and it can get some
> > data like point、line、polygon. But it cannot
> support the styles as Mr
> > Frank Warmerdam told me. Now, I have such questions:
> >
> > 1. Where can I know
> what OGR does support and does not support
> > about s57 ? Does it get the symbols(no, right?)?
>
> Randy,
>
> OGR does not read the actual graphical symbols. For
> instance,
> we might have a feature from the WRECKS layer like below
> with
> various valuable attributes, but actual wreck symbol.
>
> OGRFeature(WRECKS):2163
> RCID (Integer) = 2164
> PRIM (Integer) = 1
> GRUP (Integer) = 2
> OBJL (Integer) = 159
> RVER (Integer) = 1
> AGEN (Integer) = 540
> FIDN (Integer) = 2135161787
> FIDS (Integer) = 688
> LNAM (String) = 021C7F43FBBB02B0
> NAME_RCNM (IntegerList) = (1:110)
> NAME_RCID (IntegerList) = (1:517)
> ORNT (IntegerList) = (1:255)
> USAG (IntegerList) = (1:255)
> MASK (IntegerList) = (1:255)
> CATWRK (Integer) = 1
> QUASOU (String) = 2
> WATLEV (Integer) = 3
> POINT (61.1031909 -32.4450159)
>
> > 2. If I have got the
> color and symbols, How could I know which
> > kind of color the line(or polygon or something else
> which I get with the
> > help of OGR) should match with?
>
> You would normally read the S52 specification and use it
> to
> determine appropriate coloring, styling and symbolization
> from the attributes of a feature. I
> haven't actually reviewed
> the S52 specification, but I imagine it has rules for how
> to draw wrecks that might indicate different symbols
> depending
> on the CATWRK (Category of Wreck) and WATLEV (Water level
> effect) attributes of the feature.
>
> > 3. Has anyone done such
> things, can you help me something?
>
> I know lots of people have made various levels of effort
> in
> following the S52 specification based on OGR as a feature
> reader. Perhaps some of them will speak up and
> volunteer
> additional information.
>
> > 4. I know the file
> “IHO ECDIS Presentation Library” can help me
> > but I don’t know how to get it, can you?
>
> Normally the IHO web site should have instructions on
> ordering.
>
> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up |
> Frank Warmerdam, warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush |
> Geospatial Programmer for Rent
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
__________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr!
http://www.flickr.com/gift/
More information about the gdal-dev
mailing list