On Thu, Apr 4, 2013 at 5:17 PM, John Callahan <[email protected]> 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 ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
