Discussion:
liblwgeom.dll API?
g***@bt.com
2007-05-02 15:58:15 UTC
Permalink
Hi, I'm looking to call some spatial functions that are contained within liblwgeom.dll (postgis) from inside my own code (c# / .NET) but can't quite get the signatures right. Is there an API available (or header file) that I could use?
Thanks,
Gavin
David William Bitner
2007-05-02 16:05:04 UTC
Permalink
Have you looked at just using GEOS?
Post by g***@bt.com
Hi, I'm looking to call some spatial functions that are contained within
liblwgeom.dll (postgis) from inside my own code (c# / .NET) but can't
quite get the signatures right. Is there an API available (or header file)
that I could use?
Thanks,
Gavin
_______________________________________________
postgis-users mailing list
http://postgis.refractions.net/mailman/listinfo/postgis-users
--
************************************
David William Bitner
Obe, Regina
2007-05-02 16:12:51 UTC
Permalink
Not quite clear what you are trying to do. Are you trying to use the
liblwgeom.dll separate from Postgis/PostGreSQL database? I don't think
its designed for that. Probably better off using geos library if that
is your intention.

If you are simply trying to use the postgis spatial functions against a
postgis database, then you should be using NpgSQL postgresql driver. No
need to directly link to liblwgeom for that.

Hope that helps,
Regina

-----Original Message-----
From: postgis-users-***@postgis.refractions.net
[mailto:postgis-users-***@postgis.refractions.net] On Behalf Of
***@bt.com
Sent: Wednesday, May 02, 2007 11:58 AM
To: postgis-***@postgis.refractions.net
Subject: [postgis-users] liblwgeom.dll API?

Hi, I'm looking to call some spatial functions that are contained within
liblwgeom.dll (postgis) from inside my own code (c# / .NET) but can't
quite get the signatures right. Is there an API available (or header
file) that I could use?
Thanks,
Gavin
_______________________________________________
postgis-users mailing list
postgis-***@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.
Paul Ramsey
2007-05-02 16:17:26 UTC
Permalink
Almost all the PostGIS functions that would be worth calling in a
third-party application in fact reside in the GEOS library. Have you
compared your needs with that function list?

http://geos.refractions.net
Post by g***@bt.com
Hi, I'm looking to call some spatial functions that are contained
within liblwgeom.dll (postgis) from inside my own code (c# / .NET)
but can't quite get the signatures right. Is there an API available
(or header file) that I could use? Thanks, Gavin
--
Paul Ramsey
Refractions Research
http://www.refractions.net
***@refractions.net
Phone: 250-383-3022
Cell: 250-885-0632
Loading...