Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 69508

GDAL (Geospatial Data Abstraction Library) is an open source translator library for raster and vector geospatial data formats.

0 votes

Import GDAL Error

Finally, I installed only shapely, psycopg2, and fiona in one command with no version specification and then I saw that GDAL is also installed and it is working!!! … The Installed versions are: Python = 3.12.3 1- Shapely = 2.0.1 2- Fiona = 1.9.5 3- Psycopg2 = 2.9.9 4- GDAL = 3.6.2 I am able to import GDAL and work with it even if I did not mention …
milad's user avatar
  • 729
0 votes
1 answer
200 views

How to merge two *.gml files with different geometry types into one gml file

I have two gml files one contains linear data and the other one contains polygon data. I want to have the correct ogr command to merge the two gml files into one file. I found this answer from 2012 th …
milad's user avatar
  • 729
1 vote
0 answers
420 views

How to clip a raster with polygon with no "NoData" pixel outside of polygon

if possible, how can I do it with QGIS or GDAL? …
milad's user avatar
  • 729
0 votes
1 answer
102 views

How can I read the Geometry of IHO S100 products (S123 and S127) geometry (a GML file) in Py...

I need to read this file in Python but I have errors and strange geometries using GeoPandas or GDAL. …
milad's user avatar
  • 729
2 votes
1 answer
535 views

Connecting MapServer to a raster table in PostGIS

I am new in MapServer and I want to visualize some raster tables in MapServer. My mapfile is: MAP CONFIG "MS_ERRORFILE" "error.log" DEBUG 5 NAME "milad" STATUS on SIZE 600 600 EXTENT -8321547 566 …
milad's user avatar
  • 729
1 vote

Populate an empty raster with values from intersecting vector layers

I can think of two solutions: Dump your raster as polygons using this function ST_PixelAsPolygons(). Then, do your calculations for the centroid of each polygon (first calculate the centroids of the …
milad's user avatar
  • 729
1 vote

Connecting MapServer to a raster table in PostGIS

I did some steps and with the help of @nmtoken I was able to fix it. I believe that my raster table had some problems maybe because I created it with complex geometries or maybe another reason. This t …
milad's user avatar
  • 729
0 votes
0 answers
43 views

Modifying GML with xlink:href attributes to simple GML

I mean this part of the GDAL GML driver page: I used this command, but it produced nothing!!! … : ogr2ogr -f GML output.gml input_data.gml --config GML_SKIP_RESOLVE_ELEMS NONE Should I add something to this command or it is because my GML file has strange tags for GDAL? …
milad's user avatar
  • 729