arenevier / gisconverter.php Goto Github PK
View Code? Open in Web Editor NEWconvert vector geometries beetween different formats (wkt, geojson, kml)
License: Other
convert vector geometries beetween different formats (wkt, geojson, kml)
License: Other
Hi!
As you know I've used some of your code over in geoPHP (https://github.com/phayes/geoPHP) in our KML adapter. It has been extensively modified since then, but it is derived from your work here. There's an issue open on my issue-queue here (phayes/geoPHP#15) asking if I could dual-license geoPHP as both BSD and GPL.
So my question is, may I have your permission to dual-license geoPHP as both BSD and GPL? I need to ask you since some of the code is derived from your work here. Note that I'm not asking you to-relicense gisconverter.php, but merely to allow me to dual license geoPHP.
Thank you for your consideration.
~Patrick Hayes
<name>Täschalp Restaurant & Lodge</name>
in
<trkpt lon="7.810299" lat="46.059214"> <ele>2171.800000</ele> <name>Täschalp Restaurant & Lodge</name> <extensions> <oa:mapZoom>14</oa:mapZoom> </extensions> </trkpt>
Fatal error: Uncaught gisconverter\InvalidText invalid text for decoder gisconverter\XML
$str = str_replace('&','',$str); fixes it (which possibly breaking something else)
Hi,
I recently added your gisconverter.php to some code I'm working on, as I need to convert WKT to GeoJSON. It was working well at first, properly parsing several geometries from my TIGER based PostGIS database, until I ran into this:
Please read the comments in the source code of the script:
http://98.154.186.14/test.phps
It seems to fail parsing this rather large geometry that I'm getting from my database. This geometry is a MULTIPOLYGON of the state of California, USA, as returned by my database. According to PostGIS, this is a valid geometry.
Thanks,
Daniel
Tried to convert a GeoJSON exported from this OpenStreetMap uMap. Getting this error:
PHP Fatal error: Uncaught gisconverter\InvalidText invalid text for decoder gisconverter\GeoJSON: {"crs": null, "type": "FeatureCollection", "features": [{"geometry": {"type": "Point", [...]
Howdy,
I thought I would just send you a message and let you know what I'm up to over at https://github.com/phayes/geoPHP . It looks like we have very similar projects tackling similar functionality. I would like to see if there is any way we can collaborate.
If you don't mind, I'm going to scoop some of your KML and GPX code. I would invite you to do the same if any of my project looks useful. We are both BSD, so the licensing is compatible. I'll add your name to the files where I include your stuff.
Looking forward to seeing how we can collaborate. At the very least code-swapping might be useful, but perhaps there are some deeper ways we can work together.
Thanks!
~ Patrick Hayes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.