Giter VIP home page Giter VIP logo

gisconverter.php's People

Contributors

arenevier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gisconverter.php's Issues

BSD / GPL license for geoPHP

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

& stops the parser with invalid text error

<name>Täschalp Restaurant &amp; 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)

WKT fails to parse

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:

http://98.154.186.14/test.php

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

Invalid format when reading GeoJSON

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",  [...]

Collboration

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.