[postgis-devel] Public Raster C API

Rémi Cura remi.cura at gmail.com
Thu May 28 00:38:52 PDT 2015


Hey, I was looking recently for a python access to PostGIS raster from
within the base. A C api might be the first step? Cheers
Le 28 mai 2015 09:04, "Nathaniel Clay" <clay.nathaniel at gmail.com> a écrit :

> Bborie,
>
> Just to be clear we need to move from static linking to dynamic linking
> and separate out "librtcore.so" from "rtpostgis.so". This can be done with
> libtool,  honestly this would be my first attempt at using Autotools can I
> get a little hand holding here.
>
> Humbly,
>
> Nathaniel Hunter Clay
>
> On Wed, May 27, 2015 at 8:10 PM, Bborie Park <dustymugs at gmail.com> wrote:
>
>> Hm... Sounds like the Makefile needs changing to install librtcore.so.
>>
>> On Wed, May 27, 2015 at 4:22 PM, Nathaniel Clay <clay.nathaniel at gmail.com
>> > wrote:
>>
>>> Bborie,
>>>
>>> I think it all gets rolled up into rtpostgis.so. As far as I can tell
>>> there is no librtcore.so.
>>>
>>> Thanks,
>>>
>>> Nathaniel Hunter Clay
>>>
>>> On Wed, May 27, 2015 at 7:13 PM, Bborie Park <dustymugs at gmail.com>
>>> wrote:
>>>
>>>> Nah. The library was meant to be consumed by whomever wants to consume
>>>> it. If the header is not copied, that'd be an oversight and a ticket should
>>>> be filed... Having said that I need to see where librtcore.so gets
>>>> installed...
>>>>
>>>> On Wed, May 27, 2015 at 2:41 PM, Nathaniel Clay <
>>>> clay.nathaniel at gmail.com> wrote:
>>>>
>>>>> Bborie,
>>>>>
>>>>> The librtcore header is not copied, to /usr/include so I am assuming
>>>>> that the library functions included in the library were meant to be
>>>>> private. This is for a external project. Is this an over-site? Or am I
>>>>> missing something fundamental.
>>>>>
>>>>> Thanks as Always,
>>>>>
>>>>> Nathaniel Hunter Clay
>>>>>
>>>>> On Wed, May 27, 2015 at 5:35 PM, Bborie Park <dustymugs at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Actually, yes. raster2pgsql directly consumes librtcore...
>>>>>>
>>>>>> On Wed, May 27, 2015 at 2:33 PM, Bborie Park <dustymugs at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Do you mean directly accessing librtcore? I believe you can go
>>>>>>> directly at that library if so inclined.
>>>>>>>
>>>>>>> -bborie
>>>>>>>
>>>>>>> On Wed, May 27, 2015 at 2:31 PM, Nathaiel Clay <
>>>>>>> clay.nathaniel at gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Could we expose some of the raster C functions to read and write to
>>>>>>>> raster’s, and low level pixel to geo-point and geo-point to pixel and etc.
>>>>>>>> Just want your input, I am more than willing to do the work myself.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Nathaniel Hunter Clay
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> postgis-devel mailing list
>>>>>>>> postgis-devel at lists.osgeo.org
>>>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> postgis-devel mailing list
>>>>>> postgis-devel at lists.osgeo.org
>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> postgis-devel mailing list
>>>>> postgis-devel at lists.osgeo.org
>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> postgis-devel mailing list
>>>> postgis-devel at lists.osgeo.org
>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>>>>
>>>
>>>
>>> _______________________________________________
>>> postgis-devel mailing list
>>> postgis-devel at lists.osgeo.org
>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>>>
>>
>>
>> _______________________________________________
>> postgis-devel mailing list
>> postgis-devel at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>>
>
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20150528/4d7929b8/attachment.html>


More information about the postgis-devel mailing list