[postgis-devel] possible Bug in PG 2.1 ( ST_AsX3d() on TIN) ?

Till Adams adams at terrestris.de
Mon Oct 28 08:20:11 PDT 2013


Dear Sandro.

Manythanks for your reply and I apologize for my late response.

We are going to check fpr your idea - ASAP. I am off this wek, so I will 
report next week. I think better to the user list?

Regards, Till



Am 26.10.2013 12:17, schrieb Sandro Santilli:
> On Fri, Oct 25, 2013 at 02:03:56PM +0200, Till Adams wrote:
>> Hi,
>>
>> we want to create a X3d file from a point cloud. Therefore we create
>> a TIN (you may get this from here:
>> http://www.webmapcenter.de/downloads/ewkt.tin.zip)
>>
>> The output was created by ST_ASEWKT, which works fine!
>>
>> My environment:
>> POSTGIS="2.1.0 r11822" GEOS="3.4.2-CAPI-1.8.2 r3921" PROJ="Rel.
>> 4.8.0, 6 March 2012" GDAL="GDAL 1.9.0, released 2011/12/29"
>> LIBXML="2.8.0" LIBJSON="UNKNOWN" RASTER
>>
>>
>> What we did: Created a geometry collection from a point cloud
>> (approx 120k values), then used the ST_DelaunayTriangles function.
>> Afterwards we wanted to get out this as a x3d-file. When we do this
>> on the same data and limit the no. of used points to 50k everything
>> works fine).
>>
>> When doing this on the whole data, we get this error:
>> ( st_asx3d([data from zip-file above]) )
>>
>> ERROR:  invalid memory alloc request size 2783188712
>
> I don't know much about X3D but can you maybe combine multiple
> records from chunks of elements of the collection ?
>
> ST_AsX3D(geom) from ( select (ST_Dump(returnFromDelaunay)).geom ) as x
>
> --strk;
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>

-- 
NEWS:
-> map-it.ulm.de! Das Mitmachportal für Ulm

-> GO Mobile - jetzt WebGIS auch auf Smartphones
-> Jetzt OpenSource! SHOGun - das JavaBackend für WebGIS Anwendungen

------------------------------------------------
terrestris GmbH & Co. KG
Puetzchens Chaussee 56
53227 Bonn
Germany

Till Adams
Geschaeftsfuehrung

Tel:	+49 (0)228 / 962 899-52
Mobile:	+49 (0)151 / 25394429
Fax:	+49 (0)228 / 962 899-57
Skype:  tilladams

adams at terrestris.de
http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
------------------------------------------------

Komplementaerin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams



More information about the postgis-devel mailing list