NGA DNC Support?

Stephane Lessard LESSARDST at DFO-MPO.GC.CA
Fri Jan 13 07:37:58 PST 2006


Frank,

Thank you very much, it works like a charm. In case anyone was wondering, in
Windows it looks like:

ogrinfo -ro gltp:/vrf/c:/temp/dnc18/A1807250

Best regards,

Stéphane


> -----Message d'origine-----
> De : fwarmerdam at gmail.com [mailto:fwarmerdam at gmail.com] De la 
> part de Frank Warmerdam
> Envoyé : 12 janvier 2006 17:32
> À : LESSARDST at dfo-mpo.gc.ca
> Cc : MAPSERVER-USERS at lists.umn.edu
> Objet : Re: [UMN_MAPSERVER-USERS] NGA DNC Support?
> 
> On 1/12/06, Stephane Lessard <LESSARDST at dfo-mpo.gc.ca> wrote:
> > Hello list,
> >
> > Are there any plans to support Nautical Geospatial-Intelligence 
> > Agency's
> > (NGA) Digital Nautical Chart (DNC) products in MapServer? 
> Does anybody 
> > use those products? The format itself is called Vector 
> Product Format (VPF).
> >
> > http://www.nga.mil/portal/site/dnc/index.jsp?front_door=true
> > <http://www.nga.mil/portal/site/dnc/index.jsp?front_door=true>
> 
> Stéphane,
> 
> I have successfully used some DNC products through OGR using 
> the OGDI bridge.  OGDI includes a general VPF driver.
> If you want to experiment a bit with this, the FWTools builds 
> include OGDI support.
> 
> The tricky part is getting the right datasource name, and
> layer name.   For my tests I used the following DNC datasource
> name:
> 
>   gltp:/vrf/home/warmerda/dnc13/h1316010
> 
> The gltp:/vrf/ part tells the system that the OGDI (gltp
> protocol) bridge should be used, and through that bridge the 
> OGDI VRF (VPF) driver is used.
> 
> When I use ogrinfo I get the following list of layers:
> 
> [guest at gdal2200 guest]$ ogrinfo -ro 
> gltp:/vrf/home/warmerda/dnc13/h1316010
> INFO: Open of `gltp:/vrf/home/warmerda/dnc13/h1316010'
> using driver `OGDI' successful.
> 1: buildnga at cul(*)_area (Polygon)
> 2: industa at cul(*)_area (Polygon)
> 3: landmrka at cul(*)_area (Polygon)
> 4: transa at cul(*)_area (Polygon)
> 5: fencel at cul(*)_line (Line String)
> 6: railrdl at cul(*)_line (Line String)
> 7: transl at cul(*)_line (Line String)
> 8: buildngp at cul(*)_point (Point)
> 9: commp at cul(*)_point (Point)
> 10: industp at cul(*)_point (Point)
> 11: landmrkp at cul(*)_point (Point)
> 12: ecrarea at ecr(*)_area (Polygon)
> 13: foreshoa at ecr(*)_area (Polygon)
> 14: adminl at ecr(*)_line (Line String)
> 15: coastl at ecr(*)_line (Line String)
> 16: foreshol at ecr(*)_line (Line String)
> 17: islandp at ecr(*)_point (Point)
> 18: ecrtext at ecr(*)_text (Point)
> 19: tidep at env(*)_point (Point)
> 20: hydarea at hyd(*)_area (Polygon)
> 21: hydline at hyd(*)_line (Line String)
> 22: botcharp at hyd(*)_point (Point)
> 23: soundp at hyd(*)_point (Point)
> 24: canala at iwy(*)_area (Polygon)
> 25: lakea at iwy(*)_area (Polygon)
> 26: misciwya at iwy(*)_area (Polygon)
> 27: rivera at iwy(*)_area (Polygon)
> 28: canall at iwy(*)_line (Line String)
> 29: riverl at iwy(*)_line (Line String)
> 30: embanka at lcr(*)_area (Polygon)
> 31: lcrline at lcr(*)_line (Line String)
> 32: limbndya at lim(*)_area (Polygon)
> 33: limbndya at lim(*)_area (Polygon)
> 34: maritima at lim(*)_area (Polygon)
> 35: maritima at lim(*)_area (Polygon)
> 36: distl at lim(*)_line (Line String)
> 37: distl at lim(*)_line (Line String)
> 38: limbndyl at lim(*)_line (Line String)
> 39: limbndyl at lim(*)_line (Line String)
> 40: maritiml at lim(*)_line (Line String)
> 41: maritiml at lim(*)_line (Line String)
> 42: routel at lim(*)_line (Line String)
> 43: routel at lim(*)_line (Line String)
> 44: limbndyp at lim(*)_point (Point)
> 45: leadingl at nav(*)_line (Line String)
> 46: buoybcnp at nav(*)_point (Point)
> 47: lightsp at nav(*)_point (Point)
> 48: markerp at nav(*)_point (Point)
> 49: bridgea at obs(*)_area (Polygon)
> 50: dangera at obs(*)_area (Polygon)
> 51: hazarda at obs(*)_area (Polygon)
> 52: obstruca at obs(*)_area (Polygon)
> 53: reefa at obs(*)_area (Polygon)
> 54: ruinsa at obs(*)_area (Polygon)
> 55: bridgel at obs(*)_line (Line String)
> 56: hazardl at obs(*)_line (Line String)
> 57: pipelinl at obs(*)_line (Line String)
> 58: dangerp at obs(*)_point (Point)
> 59: hazardp at obs(*)_point (Point)
> 60: loadingp at obs(*)_point (Point)
> 61: obstrucp at obs(*)_point (Point)
> 62: ruinsp at obs(*)_point (Point)
> 63: piera at por(*)_area (Polygon)
> 64: structra at por(*)_area (Polygon)
> 65: pierl at por(*)_line (Line String)
> 66: seawalll at por(*)_line (Line String)
> 67: structrl at por(*)_line (Line String)
> 68: berthp at por(*)_point (Point)
> 69: mooringp at por(*)_point (Point)
> 70: relline at rel(*)_line (Line String)
> 71: dqyarea at dqy(*)_area (Polygon)
> 72: tileref at tileref(*)_area (Polygon)
> 73: libref at libref(*)_line (Line String)
> 
> The layer names are pretty funky, but it should work.
> 
> 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
> 



More information about the MapServer-users mailing list