|
From: Paolo C. <pc...@gm...> - 2013-04-04 15:37:51
|
On Thu, Apr 4, 2013 at 5:17 PM, John Callahan <joh...@ud...> wrote: > > I had a similar situation. I created a vrt file that pointed to my csv file, then ran a one line ogr script to convert the vrt into a shapefile, which GeoServer read fine. My vrt and ogr command line are as follows: > > <OGRVRTDataSource> > <OGRVRTLayer name="dataout"> > <SrcDataSource>C:\data\dataout.csv</SrcDataSource> > <GeometryType>wkbPoint</GeometryType> > <GeometryField encoding="PointFromColumns" x="x" y="y" z="value"/> > </OGRVRTLayer> > </OGRVRTDataSource> > > ogr2ogr -overwrite -f "ESRI_Shapefile" -a_srs EPSG:26957 C:\data\interp\airtemps.shp C:\data\dataout.vrt > > I think the point would be to have vrt and other ogr formats straightly available in GeoServer without converting data to shapefiles or whatever. Dear GeoServer developers, just for the sake of curiosity, is there any plans to integrate OGR in the GDAL plugin at some point? thanks p -- Paolo Corti Geospatial software developer web: http://www.paolocorti.net twitter: @capooti skype: capooti |