ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Changes to the Mapquest free tile service

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
bmesser Posted - Jul 14 2016 : 08:24:09
Hi

Mapquest has changed the access to their free map tile service. You now have to subscribe and use an API key and keep to less than 15,000 tiles a month as far as I can see. I just wonder if anyone has had chance to see if ImageEnView will still work with the new service. I did think that there was a property that you could use to include your key but I can't seem to find it.

I have a large collection of archived maps so I can still use mapping, it only becomes a problem when I zoom into an area I've not been in before.

http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/

Bruce.
20   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 21 2016 : 21:29:27
Hi Bruce

You can email me for the source changes to make.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
bmesser Posted - Aug 18 2016 : 07:38:56
I forgot to say - good work finding the bug!
bmesser Posted - Aug 18 2016 : 07:36:08
Nigel

Is it possible to patch an earlier version or does that mean I have to consider the cost of an update?

In the next big release would it be possible to add a boolean 'offline' property to slippy maps? If set false, the component would then just use archived images and not even bother attempting to download a tile.

Bruce.
xequte Posted - Aug 18 2016 : 04:52:07
Hi Bruce

I've found the issue with white tiles. This will be fixed in 6.3.1 (next week).


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
bmesser Posted - Aug 04 2016 : 16:17:19
Hi Nigel

I've tried the original demo and it starts brightly enough fetch in tiles for the whole Atlantic for a number of zoom levels. But run it again and the missing 'white' tile problem starts again. It's not too slow here in my backwater 11mbps. The strange thing is if I start a second program that shares the same cache as the demo, use identical zoom levels, then the demo has some missing white tiles of the second app but not all. But the whole point of the cache is to share existing tiles and prevent unnecessary downloads. The white tiles weren't a problem initially but they seem to be being ignored by the slippymaps component.

Bruce.
xequte Posted - Aug 03 2016 : 19:19:13
Hi Bruce

On the subject of backwaters, I am located in New Zealand.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
bmesser Posted - Aug 03 2016 : 06:33:52
Nigel

I'll try the demo but I copied the code from out of the demo when the new functionality was added to ImageEN and it always worked 100% with mapquest. I did read somewhere that the terrain tiles were for use in the US only.

Bruce.
bmesser Posted - Aug 03 2016 : 06:28:33
I know it's a bit of a backwater since Brexit but so am I!
sandy771 Posted - Aug 03 2016 : 03:18:10
I'm in the UK
xequte Posted - Aug 02 2016 : 19:10:51
Hi

iesmpOSM_Mapnik works fine for me, and is definitely not using cached tiles:



Where are you based? Perhaps they limit distribution to some locales?


iesmpMigurskisTerrain works too, but the server is dog slow. I cannot reproduce the blank tile issue.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
sandy771 Posted - Aug 02 2016 : 06:10:20
Hi Nigel

Same code

iesmpMapQuest used to work OK

iesmpMigurskisTerrain works OK but the map is no good for me

iesmpOSM_Mapnik doesn't work
bmesser Posted - Aug 02 2016 : 05:58:47
Hi Nigel

Are you sure you are pulling back new tiles and not just using pre-existing tiles from the cache?

I can't pull any tiles back from the Mapnik provider which may not exist now in a similar way to how mapquest have just closed down.

Did you get a chance to rerun that demo on the iesmpMigurskisTerrain provider and see if you now had missing tiles that should have been fetched from a cached copy?

Bruce.
xequte Posted - Aug 02 2016 : 01:09:47
Hi

I'm not sure why iesmpOSM_Mapnik is not working for you. It works fine in my testing.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
sandy771 Posted - Aug 01 2016 : 07:59:06
Thanks Bruce

I need roads etc and iesmpMigurskisTerrain doesn't provide this :(
bmesser Posted - Aug 01 2016 : 07:22:22
Sandy

I don't think 'iesmpOSM_Mapnik' option ever worked.

Mapquest stopped supplying free tiles so I tried swapping to 'iesmpMigurskisTerrain' which worked perfectly first time, but frustratingly produces a fair number of blank tiles now, even though it must hold a good local copy of the tile in it's cache.

Bruce.
sandy771 Posted - Aug 01 2016 : 07:13:46
Hi Nigel- I have the same issue. Chaning the slippymap provider to iesmpOSM_Mapnik just gives me blank (black) tiles.

Thanks
bmesser Posted - Jul 29 2016 : 03:39:31
Nigel

I spoke too soon! With my experience from the previous provider I did a world tour at various zoom levels yesterday and picked up a load of the most common tiles that I would ever use. Great I could pan and zoom without much problem because all the images were cached.

This morning however I opened the same application and found that the moths had been at it, and there many 'white' tiles (1kb) which had replaced the simple blue tiles over the oceans that I already had saved from yesterday in the cache.

This may be the tile providers problem, but if I cached the images yesterday the slippy map component should have no need to refetch it and replace it with a white tile. Can you check at your end to see if you see the same problem?

I'm sure on the server there is only one single 256x256 blue tile that is served up - because let's face it the planet is more or less 70% ocean and why keep tens of thousands of blue tiles!

The answer would be to have all the tiles stored locally, which might not need that much space as long as you didn't zoom in too much which for me would be perfect. And to be honest that's what I thought I had using the cache.

Bruce.
xequte Posted - Jul 28 2016 : 16:11:39
Hi

I never knew of the TMS Google maps component. Wow, Bruno has components for everything!

iesmpOSM_Mapnik works fine when I test it here.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
bmesser Posted - Jul 28 2016 : 06:05:47
Hi Nigel

The iesmpOSM_Mapnik map provider didn't work, but since I can now see the source I tried the iesmpMigurskisTerrain provider instead which did. This map is exactly what I'm looking for plotting weather observations on and free's the plotted data from the detailed clutter of the underlying map. It's a little slow, but once the tiles are cached that problem disappears.

I think slippymaps are a wonderful feature of ImageEn and can't understand why either you or someone else hasn't expanded on this as a mapping component in it's own right. Since the demise of TGlobe 10 years ago now there's very little out there except TatukGIS which comes in at $2,500 or the TMS Google maps component.

Thanks again for your help!

Bruce.
xequte Posted - Jul 27 2016 : 01:26:10
Hi Bruce

It looks like MapQuest is not allowing DirectTile access at all, you need to use a different SDK even if you sign up for their free plan.

See discussion at:

http://stackoverflow.com/questions/38315300/mapquest-direct-tile-access-discontinued

So you would be best to change your provider to OSM:

map := TIESlippyMap.Create( iesmpOSM_Mapnik, 'cache' );
  ...




Nigel
Xequte Software
www.xequte.com
nigel@xequte.com