721 reputation
414
bio website libregis.org
location Spain
age 34
visits member for 3 years, 6 months
seen Aug 19 at 13:10

I'm a software developer, focused on GIS. PostGIS and GDAL committer. I'd love to add 'where' to people's lives.


Jan
15
comment How to add color interpretation for raster bands using GDAL?
I actually did that, but I get "ERROR 6: SetColorTable() not supported for multi-sample TIFF files.". And I get 0 for all pixels. I'm not sure about the meaning of this error.
Jan
15
comment How to add color interpretation for raster bands using GDAL?
No,they all have the same geotransforms,but they're no north-up rasters (rotation parameters are not 0). And gdalbuildvrt does not support rotated geo transforms. I don't want to warp them.
Jan
14
comment How to add color interpretation for raster bands using GDAL?
I tried, but my raster files are rotated...
Dec
7
comment GDAL: C++ API to Convert Text file of Coordinate points to Raster Pixel line?
You're welcome :-)
Sep
11
comment What is the fastest (performance-wise) way to serve PostGIS features?
Thanks! The project was finally cancelled, but I think your solution is a good one.
Aug
29
comment How could I make this PostGIS query run faster?
Not exactly. I wrote the GDAL PostGIS Raster driver, and helped with PostGIS Raster extension (did some functions, mostly related with GDAL). I know the raster-polygon intersection implies the polygonization of the raster previous to intersection. That could be a heavy process. I don't know if there's some PostgreSQL specific thing I can do to make it faster without changing PostGIS Raster internals.
Aug
15
comment How to put zipcodes data onto a web map?
Too long to generate the tile cache.
Aug
15
comment Why does gdalbuildvrt not allow these things?
Thanks for the suggestion!
Aug
14
comment Why does gdalbuildvrt not allow these things?
Yes, I'm actually using VRT driver to develop my own one. I've read, in several places, that is hard to work with rotated rasters. Tools like gdal_translate or gdalbuildvrt doesn't work in the input raster(s) is (are) rotated. So, why is so difficult? Isn't enough with the GeoTransform array?
Aug
14
comment Why does gdalbuildvrt not allow these things?
Ok, thanks for your response. I think I'm going to look for information about merging rotated images. I know it's difficult, but I don't have enough background to argue why.
Aug
11
comment gdallocationinfo from C++?
I think I answered your question at gis.stackexchange.com/questions/30985/…
Aug
11
comment How to save table from PostgreSQL to MapInfo File?
Did you try with the -s_srs/-a_srs/-t_srs options?
Aug
10
comment What should I expect in this case?
Mmmm... still a doubt. I know cartesian coordinate system sets the origin in the bottom left corner, while images do it in the top left corner. So, in georeferenced images, you need a negative Y resolution, otherwise you get a south up image. Ok so far. But, for example, why doesn't gdalbuildvrt accept positive y resolutions? If this doesn't mean a mistake, just a flipped image, what's the problem?
Mar
13
comment Failing to build PostGIS on Mac OS X 10.6.8 (Snow Leopard)
Yes, I discovered the "file" command, and it's really useful. Thanks for the tip!
Mar
11
comment Failing to build PostGIS on Mac OS X 10.6.8 (Snow Leopard)
Yes, it's only for me. I could compile only for x86_64. I'm probably too lazy, because I followed instructions that compile for both archs. Thanks for the suggestion!
Mar
11
comment Failing to build PostGIS on Mac OS X 10.6.8 (Snow Leopard)
Sorry, I'm probably misunderstanding your answer, but your suggestion was to compile PostGIS with those flags. My solution was to compile PostgreSQL, a prerequisite, using those flags too, instead of using a precompiled version of PostgreSQL. Anyway, I'll mark your answer as valid.
Mar
9
comment Failing to build PostGIS on Mac OS X 10.6.8 (Snow Leopard)
I solved the problem, but here the link to my message in the postgis-devel list: postgis.refractions.net/pipermail/postgis-devel/2012-March/…
Mar
9
comment Failing to build PostGIS on Mac OS X 10.6.8 (Snow Leopard)
I finally solved the problem compiling PostgreSQL using -arch i386 -arch x86_64.
Mar
9
comment Failing to build PostGIS on Mac OS X 10.6.8 (Snow Leopard)
Thanks for the tip. Now I'm getting a different error: ar: libpgcommon.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it) ar: libpgcommon.a: Inappropriate file type or format. I'd use the binaries, but the point is I'm a GDAL/PostGIS developer, and I need to compile both libraries by myself.
Dec
5
comment Serving MBTiles file via MapProxy
Ok, sorry for the msg duplication, and thanks for the answer.