Locus Map - forum

Development => Other features => Topic started by: sagrawal3 on December 21, 2011, 18:00:51

Title: Google My Maps issue
Post by: sagrawal3 on December 21, 2011, 18:00:51
Hi Menion,

The Google my maps functionality doesnt seems to be working correctly. I tried importing one of the maps from google my maps to Locus Pro. Although, it uploaded the track successfully but it was not accurately imported. Can you please take a look and check as why the track is not imported exactly in a way the google shows it, probably this might needs to be corrected in the Locus. I am including the screenshots from both Google and Locus Pro apps.
Title: Re: Google My Maps issue
Post by: Menion on December 21, 2011, 20:12:46
Hi,
  there are two things ...

1. when you add in web google maps points and set My Maps to compute path between them, this will not be reflected when loaded into locus! You may try it
2. because you're quite zoom out in map, Locus is optimizing tracks to better performance, so try to zoom in and see if track will then have more visible points. Hmm, not sure if you'll understand what I want to say ... just, it's possible, that locus draw on your screenshot, only every 10th, 20th point, so you need to zoom in a little
Title: Re: Google My Maps issue
Post by: sagrawal3 on December 21, 2011, 22:42:18
Thanks for your reply. I tried zooming in to the map but still the same result. The track that gets imported from Google don't have much track point information... I guess, due to which, the track is not shown correctly. If the track points can be imported precisely then only the track can be shown correctly. I had previously windows phone and was using Navimapper, this app can actually show the track using GPX file. I use to create GPX files from Google Maps through "GMapToGPX" (http://www.elsewhere.org/journal/gmaptogpx/ (http://www.elsewhere.org/journal/gmaptogpx/)).

One more thing, I tried downloading the KML file from Google Maps, convert it into GPX file using http://www.gpsvisualizer.com (http://www.gpsvisualizer.com), then import it in Locus Pro. It was working fine. This time the track information was perfect. If the same can be done directly from Locus Pro using the inbuilt Google My Maps functionality, that would be great.
Title: Re: Google My Maps issue
Post by: gynta on December 21, 2011, 23:48:09
hmm..

- google maps
- create route from -> to
- save in my maps
- export the kml file
- check the saved file - in google earth works fine.
- import this file in locus
- i see only the start and the target sign on the screen..

settings:
limit point on maps disabled
Title: Re: Google My Maps issue
Post by: Menion on December 22, 2011, 06:47:45
hmm this is not possible gynta. I'm just testing it and seems that export as KML (by some new KML button in google maps), export all points generated on map, not just start and end point! Try to zoom in ...

anyway when you show this route directly in locus by  My Maps feature, you'll probably see only start/end point ...
Title: Re: Google My Maps issue
Post by: gynta on December 22, 2011, 10:19:26
that means I need to convert this google-kml-file before?
Title: Re: Google My Maps issue
Post by: Menion on December 22, 2011, 10:44:53
hmm, when I import your file, it looks correctly! (all points are also in kml file as I see)
Title: Re: Google My Maps issue
Post by: gynta on December 22, 2011, 11:20:03
i must copy the file in the mapitemsfolder and import this with the mapitemmanager ?
i have used the normal datamanager.

btw.:
why is there an extra manager?
there is still enough space for a sixth symbol.
Title: Re: Google My Maps issue
Post by: Menion on December 22, 2011, 11:51:59
hm, there is no need to place file in map item manager! This manager have one main purpose! Loading of data that cannot be stored in database. That's all. So KML GroundOverlays or OpenAir format. Nothing more currently. I tested your file with Data Manager > import and it works fine for me!

and sixth symbol - yes, there is space, but for this is another plan in future ;)
Title: Re: Google My Maps issue
Post by: gynta on December 22, 2011, 12:48:42
have now recognized the problem.
with the option "show after import" I expect to see the whole import.
but I have to manually reload the track...
Title: Re: Google My Maps issue
Post by: Menion on December 22, 2011, 13:00:46
ah yes sorry, I forget to mention this ... in code where track should be loaded I see my comment "need to be done" :))
Title: Re: Google My Maps issue
Post by: sagrawal3 on January 16, 2012, 16:06:40
Are you considering this issue to be a part of future release?
Title: Re: Google My Maps issue
Post by: Menion on January 16, 2012, 16:25:47
hi,
  hmm, I think this should also work (if you talk about displaying tracks after import from some KML/GPX file)
Title: Re: Google My Maps issue
Post by: sagrawal3 on January 17, 2012, 22:28:26
The track imported from KML/GPX file works great. The issue is when we try to import tracks from Google My Maps (inbuilt functionality in Locus), the track doesn't import correctly.
Title: Re: Google My Maps issue
Post by: sh20 on June 13, 2012, 21:15:57
Hello all.

I'm facing the same problem: When I import a map saved in Google via Functions > Google MyMaps, then I get straight lines instead of curves along a road. A lot of points are missing, even when I zoom in. This can be seen in the screenshot I attached.

[attachment=1:2gmka89o]maps-locus-problem.png[/attachment:2gmka89o]
The map URL: http://goo.gl/maps/hzdb (http://goo.gl/maps/hzdb)

Other tools like Google Earth or RouteConverter display the route correctly, as it looks like in Google Maps.

I didn't really understand the workaround or solution for this problem during the discussion above - is there a way to get clearly displayed Google Maps routes? We have planned about 20 days for our cycle vacation in Norway with Google Maps... :-)

Thank you,
Steffen
Title: Re: Google My Maps issue
Post by: Menion on June 14, 2012, 21:31:29
Hello Steffen,
  for this is quite easy explanation. When you draw your track in Google Maps, you have enabled method that do not simply draw path between two points, but it also compute route between these points and you see it on map instead straight line like in Locus. Unfortunately when I in Locus download from My Maps data storage this track, I receive only points you defined by clicking, not the points Google computed. Also I don't see if between these points should be computed route or not, so unfortunately I don't see any simple way how to display same track in locus as you see in My Maps in this case, sorry.

  problem is also then more then year, Google market My Maps system as deprecated, so it's not developed anymore and that means unfortunately that no new features or better API for apps like Locus will come ...
Title: Re: Google My Maps issue
Post by: sh20 on June 14, 2012, 22:53:56
Hello, thank you for your quick answer.
But I have to contradict... ;-)
It works very fine when I import the kml-file exported in Google Maps in Locus Pro via Data > Tracks:
[attachment=0:1n253u0e]route.jpg[/attachment:1n253u0e]
It seems that Functions > Google MyMaps does not really work correctly, or at least it works somehow other than the file import. Is this a bug or a feature?
Do I have to write a wish on http://getsatisfaction.com/locus (http://getsatisfaction.com/locus)? The wish would be, that the Google import via WLAN or 2G/3G would render tracks the way the file import from smartphone does... :-)
Greetings,
Steffen
Title: Re: Google My Maps issue
Post by: Menion on June 15, 2012, 13:35:14
even a GetSatifaction topic with 100 votes cannot help here, sorry. Google over API really return only points you clicked, no more. So if you really want whole track, you have to use directly export from Google Maps, not My Maps feature in Locus
Title: Re: Google My Maps issue
Post by: sh20 on June 15, 2012, 18:57:06
Okay, I think I got it now: It's not a problem of the import, the problem is that Google delivers different data when exporting a KML file or answering a request of Locus by the interface My Maps.
But is it not possible to create a convenience method for exporting a KML file in Google and download it to the smartphone and import it automatically to Locus? Locus has the acount data to log in in the Google acount and then perhaps could call the URI which is assigned to the KML export button?
Thank you and greetings,
Steffen
Title: Re: Google My Maps issue
Post by: Menion on June 17, 2012, 17:55:48
yes, it's problem with exported data, not with Locus itself

and some workaround ... I think it should be possible, but to be true, I think that MyMaps are as much used in Locus and this functionality is covered with more important task. So sorry, but I have to reject request on this task ... you may use export from Google My Maps to KML and then import manually into Locus