<div dir="ltr"><div style="font-size:12.8px">Hello all,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">We are trying to render S57 files as ENC through Geoserver.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">We convert S57 to shapefiles thanks to ogr2ogr : 1 shapefile for 1 class (ex : COALNE) and 1 geometry type (LINE) : </div><div style="font-size:12.8px">ogrinfo -oo "RETURN_PRIMITIVES=ON" -oo "RETURN_LINKAGES=ON" -oo "LNAM_REFS=ON" CELLLL.000 COALNE </div><div style="font-size:12.8px">ogr2ogr -skipfailures -where "OGR_GEOMETRY='POINT' or OGR_GEOMETRY='MULTIPOINT'" SOUNDG_points.shp CELLLL.000 SOUNDG </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">We use gdal-2.1.0 with the S57_CSV environnement variable (S57_CSV=/usr/local/share/gdal/ with s57*.csv files).</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">We noticed that objects (of COALNE class for example) have multiple geometries and each sub-geometry have attributes like POSACC and QUAPOS which are important for S52 representation. </div><div style="font-size:12.8px">We've succeeded to extract primitives (Edge, isolated points, connected points, ...), but it looks very complex to operate.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">We have some problems to extract geometries from s57 objects :</div><div style="font-size:12.8px">- we noticed that, for an object, all sub-geometries are aggregated to one geometry</div><div style="font-size:12.8px">- we didn't succeed to extract geometry attributes like POSACC and QUAPOS</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">1) Is there a way to not aggregate sub-geometries of an object and get this list of sub-geometries ?</div><div style="font-size:12.8px">2) Is there a way to extract geometry attributes like POSACC and QUAPOS ?</div><div style="font-size:12.8px">3) If not, are these features planned ?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks for your help !</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">David</div>
</div>