Opened 13 years ago
Last modified 7 years ago
#1168 new enhancement
[raster] ST_AsRaster ability to render more complex types
Reported by: | robe | Owned by: | dustymugs |
---|---|---|---|
Priority: | low | Milestone: | PostGIS Fund Me |
Component: | raster | Version: | master |
Keywords: | Cc: |
Description
I have to admit I really love this new feature. One thing that would make this even nicer is if it can render more complex types such as Curved geometries, TINS, and PolyhedralSurfaces. I presume this is more of a GDAL enhancement than a PostGIS change. Am I correct in assuming that it's pure GDAL and a possibly newer library in the future may be able to just work with an upgrade of GDAL library.
Which brings me to the second question of how far away is GDAL from being able to do this. I know for example MapServer in 6.0 now supports rendering of PostGIS curves (though haven't tested), but not sure if that is built into mapserver (I presume it is).
BTW started putting pictures in doc for raster. I'm just putting them in for now instead of having them rendered, I have a small ASP.NET app I'm building to demonstrate these functions which I'll share later as a tutorial.
Change History (10)
comment:1 by , 13 years ago
Summary: | ST_AsRaster ability to render more complex types → [raster] ST_AsRaster ability to render more complex types |
---|
comment:2 by , 13 years ago
Owner: | changed from | to
---|---|
Priority: | medium → low |
comment:3 by , 13 years ago
Status: | new → assigned |
---|
comment:4 by , 13 years ago
Milestone: | PostGIS Raster Future → PostGIS Future |
---|
comment:5 by , 13 years ago
Milestone: | PostGIS Future → PostGIS GDAL |
---|
comment:6 by , 12 years ago
Status: | assigned → new |
---|
comment:7 by , 12 years ago
I've been thinking more about the rasterization of geometries of all types and in the end, I get to the conclusion that PostGIS raster should do its own rasterization. Conceptually, rasterizing a geometry isn't that hard.
comment:8 by , 12 years ago
hmm really. That would solve MANY problems. e.g. there aren't too many tools that can take curved geometries natively so people are often forced to do ST_CurveToLine etc which is in many cases less than wonderful.
This might call for a funding campaign.
comment:9 by , 11 years ago
Milestone: | PostGIS GDAL → PostGIS Future |
---|
Due to the issue discussed in #2516 (and the fact that Frank had to undo work on GDAL for us), PostGIS may need to implement its own rasterizer.
I don't believe OGR supports curved geometries or any of the newer geometry types. From the GDAL-dev mailing list:
http://osgeo-org.1803224.n2.nabble.com/Curve-support-in-OGR-td3091607.html
Yes to assuming it is pure GDAL/OGR. Specifically, PostGIS passes a WKB representation of the geometry to the OGR function OGR_G_CreateFromWkb. So, if and when GDAL supports curved geometries, TINs and Polyhedral Surfaces, we should be able to make use of it automatically.