206 reputation
110
bio website combal.free.fr
location Paris, France
age 41
visits member for 1 year, 5 months
seen Apr 10 at 13:15

Scientist: expert in remote sensing and its use for environmental and agronomy monitoring. I code mostly with python, bash, gdal. Also developing some applications with Objective-C


Feb
4
awarded  Yearling
Feb
3
asked openLayers and geoserver: WMSGetFeatureInfo does not return feature beyond wrapdateline
Jan
24
awarded  Tumbleweed
Jan
24
asked geoserver/openlayers: multiple layer geotiff
Jan
17
asked OpenLayers: WMSGetFeatureInfo shouldn't return feature when a layer is hidden
Jan
7
comment How to update polygon longitude if negative?
Actually, I'm kind of swimming in circles: at the beginning, I wanted to go grom EPSG:4326 to another latlon/WGS84 with long in 0-360°, but get stuck because +lon_wrap is not supported (see gis.stackexchange.com/questions/79447). In your example i see different projections centered around Pacific, but nothing like a geodetic/WGS84. Would such a projection EPSG code exist?
Jan
7
revised How to update polygon longitude if negative?
added 83 characters in body
Jan
7
comment How to update polygon longitude if negative?
Thanks for that, but I still answer the same error message. I replaced X(geometry) with ST_X(geometry): same error message too.
Jan
7
comment How to update polygon longitude if negative?
In principle, I'd agree with you. In this specific case, my problem is the dateline, that remain visible, because the polygons are split around it: once centering my openlyers view on the Pacific, the border of the polygons show the dateline, which I don't want.
Jan
7
comment How to change shapefile longitude from -180 - 180 to 0 - 360?
Yes, simple but perfectly working approach. Thanks! Now, I only need to figure out how to get ride of the vertical line (border between the two dissolved polygons) that remains after the dissolve operation.
Jan
7
accepted How to change shapefile longitude from -180 - 180 to 0 - 360?
Jan
7
revised How to update polygon longitude if negative?
added 6 characters in body
Jan
7
comment How to update polygon longitude if negative?
by "layer" I meant the layer name. I edit my post in that sense, but the error message is still the same.
Jan
7
asked How to update polygon longitude if negative?
Jan
7
revised How to change shapefile longitude from -180 - 180 to 0 - 360?
edited body
Jan
7
comment How to change shapefile longitude from -180 - 180 to 0 - 360?
Yes, that's what I need (sorry for my typo, I've edited it now). I saw your answer below, the problem is that everything is shifted, including the parts in 0-180 that should not move.
Dec
4
revised How to change shapefile longitude from -180 - 180 to 0 - 360?
added 183 characters in body
Dec
4
comment How to change shapefile longitude from -180 - 180 to 0 - 360?
Sorry, it is not what I meant: the command you gave shifts the values, while I want to have another longitude mapping domain: [0 360] instead of [-180, 180], which means that the map will be centered on 180° (in the pacific) instead of 0° (Greenwhich). So I guess the operation should include some modulo operator?
Dec
4
revised How to change shapefile longitude from -180 - 180 to 0 - 360?
added an example
Dec
4
reviewed Approve suggested edit on How to change shapefile longitude from -180 - 180 to 0 - 360?