Re: [gdal-dev] org2org

2022-11-13 Thread Andrew C Aitchison
On Wed, 9 Nov 2022, Leber, Thorsten wrote: Hi All, I am trying to use org2org with the following command: ogr2ogr -f "ESRI Shapefile" C:\RenderTest\raster_clipper_and.shp PG:"host=10.49.20.42 port=5432 user=tilemill password=test dbname=nextgen" -sql "SELECT "name", "left", top, "right", botto

Re: [gdal-dev] org2org

2022-11-10 Thread Bo Victor Thomsen
ent is safe. Hi, Does the SQL part work with a tool like pgAdmin? Notice that the inner double quotes must be escaped as \” in the ogr2ogr command or otherwise they will truncate the -sql parameter. And it seems that you did not select the geometry field. Generally I would suggest to start with a simple SQL and add complexity onc

Re: [gdal-dev] org2org

2022-11-09 Thread Bo Victor Thomsen
he SQL part work with a tool like pgAdmin? Notice that the inner double quotes must be escaped as \” in the ogr2ogr command or otherwise they will truncate the -sql parameter. And it seems that you did not select the geometry field. Generally I would suggest to start with a simple SQL and add com

Re: [gdal-dev] org2org

2022-11-09 Thread Rahkonen Jukka
you have gotten a good result. Suggestion includes testing with easy table names first before forwarding to names like countries.geometries_boundary_buffer_10km('and'). -Jukka Rahkonen- Lähettäjä: gdal-dev mailto:gdal-dev-boun...@lists.osgeo.org>> Puolesta Leber, Thorsten Lähe

Re: [gdal-dev] org2org

2022-11-09 Thread Rahkonen Jukka
9. marraskuuta 2022 13.02 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] org2org Hi All, I am trying to use org2org with the following command: ogr2ogr -f "ESRI Shapefile" C:\RenderTest\raster_clipper_and.shp PG:"host=10.49.20.42 port=5432 user=tilemill password=test

[gdal-dev] org2org

2022-11-09 Thread Leber, Thorsten
Hi All, I am trying to use org2org with the following command: ogr2ogr -f "ESRI Shapefile" C:\RenderTest\raster_clipper_and.shp PG:"host=10.49.20.42 port=5432 user=tilemill password=test dbname=nextgen" -sql "SELECT "name", "left", top, "right", bottom FROM grids.grid_1_25grad WHERE ST_Intersec

[gdal-dev] org2org select points within a polygon

2020-09-19 Thread Paul Higgins
I want have some points and I want to find out if they are in a polygon. I have two shape files one defining a polygon and the other two points here are the csv files for  both and the vrt files: My_Polygon.csv:ID,WKT1,"POLYGON ((1 1, 4 1, 4 3, 1 3, 1 1))" My_points.csv:ID X Y1 2 22 0 1 My_Polygon