Re: KML polygons distorted

2009-04-30 Thread Lance Dyas
bratliff wrote: Parsing a KML file served to the browser through a proxy loading any xml from offi site you are using a proxy / cacheing service or... have your data in json, my GeoXml parser can use a trivial proxy or handle json. Googles GGeoXml uses a cacheing service and json ... which re

Re: KML polygons distorted

2009-04-30 Thread bratliff
For what it is worth, the ability to LEGALLY use the results of Google's "gx" service might be a nice enhancement. www.polyarc.us/gx The "mapslt" / "mapsdt" service could build the tile layer overlay. The user could supplement it with "clickable" elements through the API. --~--~-~--

Re: KML polygons distorted

2009-04-30 Thread bratliff
On Mar 22, 11:23 pm, BuckyE wrote: > Rather than mucking about with GeoXML, I've decided to just use the > brute force method of having all markers, polylines and polygons > created from a standard XML. It works for me. Someone more expert at > the whole thing needs to work out a routine for hand

Re: KML polygons distorted

2009-04-29 Thread Lance Dyas
Lance Dyas wrote: Dommer wrote: By parse here, you mean addoverlay()? When would you enter these values? No with my GeoXml class, the method is called parse It was named before Google made a namespace so they were always (GGeoXml).. If I had it to do over I would call it LGeoXml for

Re: KML polygons distorted

2009-04-29 Thread Lance Dyas
Dommer wrote: By parse here, you mean addoverlay()? When would you enter these values? No with my GeoXml class, the method is called parse It was named before Google made a namespace so they were always (GGeoXml).. If I had it to do over I would call it LGeoXml for Lances GeoXml parse

Re: KML polygons distorted

2009-04-29 Thread Dommer
By parse here, you mean addoverlay()? When would you enter these values? This is relevant to the discussion we're having over here: http://groups.google.com/group/Google-Maps-API/browse_thread/thread/eeea44641b1bb5de# Thanks! On Mar 8, 3:45 pm, Lance Dyas wrote: > There are settings in ther

Re: KML polygons distorted

2009-04-29 Thread Dommer
I second the mention that this is an issue that needs to get tackled, we're having a similiar discussion about it over here: http://groups.google.com/group/Google-Maps-API/browse_thread/thread/eeea44641b1bb5de# On Mar 22, 4:23 pm, BuckyE wrote: > Rather than mucking about with GeoXML, I've deci

Re: KML polygons distorted

2009-03-22 Thread BuckyE
Rather than mucking about with GeoXML, I've decided to just use the brute force method of having all markers, polylines and polygons created from a standard XML. It works for me. Someone more expert at the whole thing needs to work out a routine for handling Garden Shed Sized Polygons! As of 2009

Re: KML polygons distorted

2009-03-08 Thread Lance Dyas
There are settings in there you can tweak on the encoding used by the GeoXml class .. the default values used are geoxml.verySmall = 0.001; geoxml.ZoomFactor = 2; geoxml.NumLevels = 18; set them on your GeoXml object before calling parse you could try making very small smaller and NumLevels

Re: KML polygons distorted

2009-03-08 Thread BuckyE
You've all been immensely kind and patient about my polygon problem. I sure hope some others get some use from this thread. I sure don't mind a little duplication of effort. I feel like I've gotten a whole lot of presents for my birthday or something! On Mar 6, 10:26 am, Lance Dyas wrote: > Lanc

Re: KML polygons distorted

2009-03-08 Thread BuckyE
Oh, believe me, I was thrilled at the possibility of making my KML in Google Earth and having my Google Map just show it. How much more easy could life get? When I constructed my Rioni map ( http://lovebunnies.luckypro.biz/rioni/ ) I struggled with those damn polygons for days. So the promise of

Re: KML polygons distorted

2009-03-06 Thread Grok Lobster
KML colors are AABBGGRR - alpha (opacity), blue, green, red On Mar 5, 8:34 pm, BuckyE wrote: > Here's one little oddity I noticed peering at and poring over these > d*mnable KML files. They have what seem to me to be bad or odd color > definitions: , 33ff, ff00, etc. What's with

Re: KML polygons distorted

2009-03-06 Thread Lance Dyas
Lance Dyas wrote: > Andrew Leach wrote: > >> On Mar 6, 10:10 am, Andrew Leach >> wrote: >> >> >>> The first two characters are transparency. >>> >>> >> Memo to self: don't rely on the web interface to show the whole >> thread. Sorry. At least my answer matched other people'

Re: KML polygons distorted

2009-03-06 Thread Lance Dyas
Andrew Leach wrote: > On Mar 6, 10:10 am, Andrew Leach > wrote: > >> The first two characters are transparency. >> > > Memo to self: don't rely on the web interface to show the whole > thread. Sorry. At least my answer matched other people's :-) > --~--~-~--~~~

Re: KML polygons distorted

2009-03-06 Thread Andrew Leach
On Mar 6, 10:10 am, Andrew Leach wrote: > > The first two characters are transparency. Memo to self: don't rely on the web interface to show the whole thread. Sorry. At least my answer matched other people's :-) --~--~-~--~~~---~--~~ You received this message beca

Re: KML polygons distorted

2009-03-06 Thread Andrew Leach
On Mar 6, 4:34 am, BuckyE wrote: > Here's one little oddity I noticed peering at and poring over these > d*mnable KML files. They have what seem to me to be bad or odd color > definitions: , 33ff, ff00, etc. What's with that? The first two characters are transparency. KML doesn't

Re: KML polygons distorted

2009-03-06 Thread Rossko
> Here's one little oddity I noticed peering at and poring over these > d*mnable KML files. They have what seem to me to be bad or odd color > definitions: , 33ff, ff00, etc. What's with that? It's colour AND opacity in one. See - http://code.google.com/apis/kml/documentation/kml

Re: KML polygons distorted

2009-03-05 Thread Lance Dyas
BuckyE wrote: > Yes, I've been doing that. Satellite goes up to 23 or so before the > resolution gets too bad to be of further use. Your parser is > definitely way better than the GGeoXml. But the best so far is not > "parsing" at all. Just reading as polygons from an XML. And, I think I > can add

Re: KML polygons distorted

2009-03-05 Thread Lance Dyas
BuckyE wrote: > Here's one little oddity I noticed peering at and poring over these > d*mnable KML files. They have what seem to me to be bad or odd color > definitions: , 33ff, ff00, etc. What's with that? > Its how kml defines colors.. in the specifications http://code.google.

Re: KML polygons distorted

2009-03-05 Thread BuckyE
Here's one little oddity I noticed peering at and poring over these d*mnable KML files. They have what seem to me to be bad or odd color definitions: , 33ff, ff00, etc. What's with that? On Mar 5, 5:00 pm, Garthan wrote: > I assert this file was not made directly by google earth

Re: KML polygons distorted

2009-03-05 Thread BuckyE
::laughing:: Well, what I really want is to get into the via Margutta 51 complex and take enough pictures to show its layout, and the movie locations, in full, once and for all. Maybe I'll get lucky somehow next time we're in Rome! On Mar 5, 11:01 pm, Lance Dyas wrote: > Lance Dyas wrote: > > If

Re: KML polygons distorted

2009-03-05 Thread BuckyE
Yes, I've been doing that. Satellite goes up to 23 or so before the resolution gets too bad to be of further use. Your parser is definitely way better than the GGeoXml. But the best so far is not "parsing" at all. Just reading as polygons from an XML. And, I think I can add some arrays or an array

Re: KML polygons distorted

2009-03-05 Thread Lance Dyas
Lance Dyas wrote: > If you switch your map type to Satellite... you will be able to go in an > additional zoom level on that page and see that > the shapes are better than they seem ;-) > if you build your own custom maptype with an aerial photo or some such.. maybe you could zoom in farther t

Re: KML polygons distorted

2009-03-05 Thread Lance Dyas
Lance Dyas wrote: > If you switch your map type to Satellite... you will be able to go in an > additional zoom level on that page and see that > the shapes are better than they seem ;-) > > That page is one usage of the parser source is available > http://code.google.com/p/geoxml/ Most of the in

Re: KML polygons distorted

2009-03-05 Thread Lance Dyas
If you switch your map type to Satellite... you will be able to go in an additional zoom level on that page and see that the shapes are better than they seem ;-) That page is one usage of the parser source is available http://code.google.com/p/geoxml/ --~--~-~--~~~--

Re: KML polygons distorted

2009-03-05 Thread BuckyE
Yes! Yes, yes, yes! Well, in the sense that I get the page and your excellent parser reads the file and displays my polygons. All of them are trapezoids. None have been collapsed down into lines the way they've been in the standard maps API pages, or Google Maps itself. But none of them look **exa

Re: KML polygons distorted

2009-03-05 Thread Rossko
> Any way let me know if it now works for you. Yessum, that works in IE6. And the GeoXml parser shows up the iddybiddy polys ok, of course. I think we can conclude that GGeoXml works with large buildings but not garden sheds. cheers, Ross K --~--~-~--~~~---~--~~

Re: KML polygons distorted

2009-03-05 Thread Garthan
Sorry about the thing not working, fixed it now so those not running the Mac Safari, I tested with will work ;-) Any way let me know if it now works for you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Ma

Re: KML polygons distorted

2009-03-05 Thread Garthan
On Mar 5, 5:31 pm, Rossko wrote: > It's beginning to feel like GGeoXml 'simplifies' imported KML detail > by discarding points that are close together, throwing out the key > vertices of small polygons along the way. GGeoXml has an undisclosed poly simplification method which is a little too agr

Re: KML polygons distorted

2009-03-05 Thread Garthan
Well I was able to put the url of your kml in the text field where you do the search and it worked then off of my PC ... no clue where the xdomain restriction comes from yet On Mar 5, 5:44 pm, Garthan wrote: > Thats very wierd... the access denied is happening on my pc.. on the > same network i

Re: KML polygons distorted

2009-03-05 Thread Garthan
Thats very wierd... the access denied is happening on my pc.. on the same network it works fine on my MAC arhhh, well that calls for an investigation... On Mar 5, 5:31 pm, Rossko wrote: > > I've tried several times to open my KMLs in your parser, by clicking > > the URL you've so kindly sup

Re: KML polygons distorted

2009-03-05 Thread Rossko
> I've tried several times to open my KMLs in your parser, by clicking > the URL you've so kindly supplied. Don't feel tpicked on, it doesn't work for me either - "Permission denied". Cross-domain restrictions? It's beginning to feel like GGeoXml 'simplifies' imported KML detail by discarding po

Re: KML polygons distorted

2009-03-05 Thread BuckyE
Thanks for looking at this! It would be great if you've found a solution. All the KML documents I've made (including one more just now made from scratch) have what seems to be two parts: a lot of declarations and then one . The first contains information about a lot of "pushpins," which are refer

Re: KML polygons distorted

2009-03-05 Thread Garthan
The latter 2 KML both work with my GeoXml parser http://www.microimages.com/ogc/newtntmap/gmap.htm?kml=http://lovebunnies.luckypro.biz/01_stuff/roman_holiday/viamargutta_strict3.kml but the one at... http://lovebunnies.luckypro.biz/01_stuff/roman_holiday/viamargutta.kml is an invalid xml documen

Re: KML polygons distorted

2009-03-05 Thread BuckyE
Just in the interests of completely obsessive thoroughness, I went to Mike's tutorials and looked at his information on KML syntax. What he has on http://econym.org.uk/gmap/kml.htm for "KML code" looks rather different from that of the files generated by Google Earth. So I munged viamargutta.kml i

Re: KML polygons distorted

2009-03-04 Thread BuckyE
Not sure what it means, but there's definitely some problem with drawing tiny polygons from a Google Earth created kml. At least, when I just Save Place As and post it to my hosting server. Look at http://lovebunnies.luckypro.biz/01_stuff/roman_holiday/UntitledFolder2.kml in Google Maps. You can

Re: KML polygons distorted

2009-03-04 Thread BuckyE
Thanks all for such prompt replies. I'll answer all your questions at once. > Why do you add the kml overlay, then immediately remove it? The map opens up in a view of the whole inner city. The kml looks like an odd funny little smudge because its polygons and lines are so small. So I just remove

Re: KML polygons distorted

2009-03-04 Thread geocode...@gmail.com
On Mar 4, 3:59 pm, "geocode...@gmail.com" wrote: > On Mar 4, 3:02 pm, BuckyE wrote: > > > The odd thing about this is that the polygons are still clickable > > polygons. The clickable are of each is within their blue boundaries. > > It doesn't correspond to the original areas I bounded. Google M

Re: KML polygons distorted

2009-03-04 Thread Rossko
> It looks liek you're just passing the points to the map... Instead, I > would recommend encoding them. KML doesn't support poly encoding (yet) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Maps API" grou

Re: KML polygons distorted

2009-03-04 Thread AnthonyP
It looks liek you're just passing the points to the map... Instead, I would recommend encoding them. Take a look at the Google Maps Documentation on them here: http://code.google.com/apis/maps/documentation/overlays.html, then use this utility (http://code.google.com/apis/maps/documentation/ pol

Re: KML polygons distorted

2009-03-04 Thread Rossko
> Any advice, especially about tests I could make, would be appreciated. Here's a quick KML test : go to the regular Google Maps page, and simply paste in the URL of your KML file. Looks the same as in my browser. I can get to it by pasting the URL http://lovebunnies.luckypro.biz/01_stuff/roman

Re: KML polygons distorted

2009-03-04 Thread geocode...@gmail.com
On Mar 4, 3:02 pm, BuckyE wrote: > The odd thing about this is that the polygons are still clickable > polygons. The clickable are of each is within their blue boundaries. > It doesn't correspond to the original areas I bounded. Google Maps API > is recognizing each polygon as such, but it's not

Re: KML polygons distorted

2009-03-04 Thread BuckyE
The odd thing about this is that the polygons are still clickable polygons. The clickable are of each is within their blue boundaries. It doesn't correspond to the original areas I bounded. Google Maps API is recognizing each polygon as such, but it's not drawing them correctly. I've made a few di

KML polygons distorted

2009-03-04 Thread BuckyE
For my map http://lovebunnies.luckypro.biz/01_stuff/roman_holiday/romanholidaymap.html I have added a checkbox to show and hide a kml file (http:// lovebunnies.luckypro.biz/01_stuff/roman_holiday/viamargutta.kml). I made the KML by drawing some polygons and adding a marker in Google Earth, then S