|
Re: s-57 to vrml elevation map?: msg#00120gis.gdal.devel
Thorsten Röllich wrote: Hello, Thorsten, Based on your email I did a test conversion of some features types from S-57 to GML and discovered some serious holes in my support for 3D GML and GML "geometry collection" types of geometries. I have committed patches for that back to GDAL/OGR. I think it may have been responsible for some of your problems. Now, for instance, the SOUNDG feature class comes through in GML as a MultiPoint collection of 3D points. However, for features classes like DEPARE, the elevation is only found in the attributes. In the case of DEPARE there are DRVAL1 and DRVAL2 attributes which appear to be the minimum and maximum depth values in the area. I don't know what language you were looking to implement the VRML writing in, but if you want to do it in C, C++ or Python why not just use the OGR API to read the objects and then concentrate on writing the VRML? As far as I know (and I am unfortunately no expert) the S-57 data will just have the depth areas with depth ranges over the whole polygon, and the sounding point values. I don't know the best way of turning this into some sort of mesh or whatever you need in VRML. Perhaps you would be best off just applying a point interpolator to the soundings and ignoring the DEPAREs? Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@xxxxxxxxx light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | image subsetting for arbitrary polygon: 00120, Xiaodong Zhang |
|---|---|
| Next by Date: | Re: Color/Tone Balancing of Mosaic Tiles: 00120, Vincent Schut |
| Previous by Thread: | s-57 to vrml elevation map?i: 00120, Thorsten=20R=F6llich |
| Next by Thread: | Re: s-57 to vrml elevation map?: 00120, s duclos |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |