Garthanos / geoxml

Automatically exported from code.google.com/p/geoxml
1 stars 0 forks source link

Server-side generation of KJSON #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My KMLs are dynamically generated based on client-side input. They can be
fairly large at times (300kb -3 mb). I found that all versions of IE result
in time-out errors when geoxml processes the large KMLs. When I save a
version of the same KML as a KJSON (using the right-click-on-the-folder
method) and run it with geoxml, I get wonderful results (no time-outs) in IE. 

I'd really like to generate the KJSON on the server, but haven't had luck
translating/porting the PolylineEncoder method to PHP. I found a port for
part of the method:
http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/PolylineEncoder.php.
txt

But of course there is the issue of not including the style information as
Lance Dyas has so expertly achieved in geoxml/KJSON. 

Any thoughts on how a KJSON could be automatically generated entirely on
the server? I know I could probably just use curl, but that seems like a
big slow-down. 

Has this been done?

Original issue reported on code.google.com by zephyrun...@gmail.com on 4 Jan 2010 at 7:09

GoogleCodeExporter commented 9 years ago
This is not a defect, BTW. I just wasn't sure where the best place to discuss 
this
would be. If there is a better venue, please inform me.

Original comment by zephyrun...@gmail.com on 4 Jan 2010 at 7:11

GoogleCodeExporter commented 9 years ago
Right probably a newish feature..or a new task since its not directly part of 
the
geoxml itself.

Original comment by lanceala...@gmail.com on 5 Jan 2010 at 5:52