Re: [gdal-dev] GDAL S57 "New Object"

2017-01-17 Thread Damian Dixon
The following is really for information...

New Object is an interesting one. It's used to extend the features
available in S-57 by the data provider without the need to modify the
standards (S-57 & S-52).

Normal a New Object is only created when there is a pressing need to
represent something new that is important to display. The only time I have
seen New Object is in test data.

The drawing instructions are normal embedded in the object itself rather
than being rules defined by the S-52 rendering tables. This means that
attributes may not be present.

So while you will be able to read the object, displaying it correctly may
not be so easy.

Regards
Damian


On 17 January 2017 at 08:08, Even Rouault 
wrote:

> On mardi 17 janvier 2017 07:48:45 CET Jerome Siot wrote:
>
> > Hi,
>
> > Implementing a program using gdal 2.0.1, I trap an exception on a
>
> > GetNextFeature() call, on layer id 163 "NEW OBJECT", described on
>
> > www.s-57.com. As a first idea, I read
>
> > gdal/gdal/data/s57objectclasses.csv (from
>
> > https://github.com/OSGeo/gdal/commits/trunk/gdal/data/
> s57objectclasses.csv)
>
> > => this file has no description for "New Object"
>
> >
>
> > Any idea ?
>
>
>
> Jerome,
>
>
>
> It looks like you spotted the issue. Would you mind submitting a patch
> with the new entry in the file ?
>
>
>
> Even
>
>
>
> --
>
> Spatialys - Geospatial professional services
>
> http://www.spatialys.com
>
> ___
> gdal-dev mailing list
> gdal-dev@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] GDAL S57 "New Object"

2017-01-17 Thread Even Rouault
On mardi 17 janvier 2017 07:48:45 CET Jerome Siot wrote:
> Hi,
> Implementing a program using gdal 2.0.1, I trap an exception on a
> GetNextFeature() call, on layer id 163 "NEW OBJECT", described on
> www.s-57.com. As a first idea, I read
> gdal/gdal/data/s57objectclasses.csv (from
> https://github.com/OSGeo/gdal/commits/trunk/gdal/data/s57objectclasses.csv)
> => this file has no description for "New Object"
> 
> Any idea ?

Jerome,

It looks like you spotted the issue. Would you mind submitting a patch with the 
new entry in 
the file ?

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] GDAL S57 "New Object"

2017-01-16 Thread Jerome Siot
Hi,
Implementing a program using gdal 2.0.1, I trap an exception on a 
GetNextFeature() call, on layer id 163 "NEW OBJECT", described on 
www.s-57.com.
As a first idea, I read gdal/gdal/data/s57objectclasses.csv (from 
https://github.com/OSGeo/gdal/commits/trunk/gdal/data/s57objectclasses.csv) => 
this file has no description for "New Object"

Any idea ?





--
Best Regards, Jerome Siot
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev