Re: [mapguide-users] New Looks of the Mobile GIS/Mapping Viewer - The Town of Qualicum Beach

2016-01-27 Thread RenoSun
Hey guys,

I have upgrade our  mobile map viewer
 
 
by using OpenLayers 3 API.

Have a look, and let me know what I can do to make it better.

Thank you very much!!!



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/New-Looks-of-the-Mobile-GIS-Mapping-Viewer-The-Town-of-Qualicum-Beach-tp5242395p5247691.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New Looks of the Mobile GIS/Mapping Viewer - The Town of Qualicum Beach

2016-01-04 Thread RenoSun
Hi Jackie,

I found out that Portable Basemap Server v3.1 couldn't get all my xyz tiles
at zoom level higher than 17.

Sometimes it only be able to get some of the tiles. I will assume PBS are
using slightly different xyz numbers? 

Any ideas? Thanks : )



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/New-Looks-of-the-Mobile-GIS-Mapping-Viewer-The-Town-of-Qualicum-Beach-tp5242395p5243653.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New Looks of the Mobile GIS/Mapping Viewer - The Town of Qualicum Beach

2015-12-31 Thread Jackie Ng
I should've ordered my previous post on preferred order of solutions to try.

ie. Try firstly pre-seeding the XYZ tile cache and expose the tile directory
so tiles can be accessed as static content.

You can use Portable Basemap Server to pre-seed the cache (as referenced in
my blog post:
http://themapguyde.blogspot.com.au/2014/07/making-mbtiles-databases-with-little.html)

Only when that is undesirable, then you can try things like
GeoWebCache/MapProxy/etc and grok how they work :)

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/New-Looks-of-the-Mobile-GIS-Mapping-Viewer-The-Town-of-Qualicum-Beach-tp5242395p5243417.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New Looks of the Mobile GIS/Mapping Viewer - The Town of Qualicum Beach

2015-12-31 Thread RenoSun
Hi Jackie,

Did pre-seeding means pre-generation for the XYZ tiles?

If so, I already did the same thing by using FME Workbench, and I generate
whole XYZ tiles as following link:

http://maps.qualicumbeach.com/GE/QBGoogleAirPhotoCompareTool/2011/WebTiler/18/40468/89635.png

However, I found use mapguide-rest to generate the XYZ tiles by using
Portable Basemap Server (1.5 hours) are the way faster than using FME (few
days for zoom level 10-19). 

Nevertheless, Portable Basemap Server doesn't provide me a solution to
generate the XYZ tiles for zoom levels between 20-22, but mapguide-rest can
generate high zoom level (20-21) tiles for me although it's slower. I also
missed few tiles here and there by using Portable Basemap. It might be my
AIMS couldn't handle it anymore in the end. I think I can probably
programming to pre-generate those tiles, but won't be as fast as Portable
Basemap. Also, it's not necessary to have pre-generate tiles for our aerial
photos now since it won't provide more details even you can zoom that much.
Our highest resolution aerial photo (2009) is on Google Map, so I can just
use the tile image from Google which is super fast. 

Neither pre-seeding tiles, and dynamic tiles are faster than the tiles
generated by MapBox. However, it has some weired looking tiles at low zoom
level 13-15 if you upload JPEG compressed GeoTiff.

If you turned the 2011 aerial photo on, you will notice there are some wired
colors on the map. Maybe I should I just use the solution like  MapTiler
  ...

Thanks...





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/New-Looks-of-the-Mobile-GIS-Mapping-Viewer-The-Town-of-Qualicum-Beach-tp5242395p5243426.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New Looks of the Mobile GIS/Mapping Viewer - The Town of Qualicum Beach

2015-12-30 Thread RenoSun
Thank you Jackie,

I removed the ol.js since I didn't use it at all. I think I was trying to
upgrade the the mobile viewer from ol2 to ol3 before.

I installed the GeoWebCache on our server, but I didn't figure out how to
use it with mapguide-rest xyz tiles yet.

http://maps.qualicumbeach.com/mapserver2014/rest/library/QualicumBeach/TiledMaps/Airphoto/2014Airphoto.MapDefinition/xyz/Base%20Layer%20Group/18/40468/89635/tile.png

Also, I found that MapBox have a good GeoTiff tile service, but the starter
plan only allow me to upload 1 GB GeoTiff file, and the JPEG compressed
GeoTiff will not work properly on MapBox at low zoom level 13-15. However,
if you see our map, and change the based map to 2011 Airphoto. You will see
the based map tiles are loaded about twice faster than before. Not as fast
as Bing/Google map tiles, but good enough.

Hope I will figure out how to use GeoWebCache 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/New-Looks-of-the-Mobile-GIS-Mapping-Viewer-The-Town-of-Qualicum-Beach-tp5242395p5243362.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New Looks of the Mobile GIS/Mapping Viewer - The Town of Qualicum Beach

2015-12-30 Thread Jackie Ng
Probably because there doesn't appear to be any asset bundling mechanism
being used. I see lots of little js and css files individually served out.

Asset bundling should at least reduce the number of js/css files served out.

Also I noticed that OpenLayers.js and ol.js are being loaded. Is this using
both OL2 and OL3? Sounds a bit ... heavy.

- Jackie





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/New-Looks-of-the-Mobile-GIS-Mapping-Viewer-The-Town-of-Qualicum-Beach-tp5242395p5243303.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New Looks of the Mobile GIS/Mapping Viewer - The Town of Qualicum Beach

2015-12-30 Thread Jackie Ng
Since the Aerial tiles use the well known XYZ grid scheme, you could put
something like GeoWebCache (http://geowebcache.org/) in front of it and let
it do the caching heavy lifting.

Or if your aerial tile cache is already seeded, just expose the raw tile
directory in the web server so the tiles can be accessed like static content
without PHP interference.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/New-Looks-of-the-Mobile-GIS-Mapping-Viewer-The-Town-of-Qualicum-Beach-tp5242395p5243304.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New Looks of the Mobile GIS/Mapping Viewer - The Town of Qualicum Beach

2015-12-23 Thread Basques, Bob (CI-StPaul)
Loads on the slow side, but tolerable.  Aerial tiles seem the slowest.

bobb


> On Dec 22, 2015, at 6:47 PM, Jackie Ng  wrote:
> 
> How are you doing % load progress?
> 
> - Jackie
> 
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/New-Looks-of-the-Mobile-GIS-Mapping-Viewer-The-Town-of-Qualicum-Beach-tp5242395p5242719.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New Looks of the Mobile GIS/Mapping Viewer - The Town of Qualicum Beach

2015-12-23 Thread RenoSun
I am using  Pace.js   .

I restart the loading every time when mgLayer (maguide map image) loadstart.

//loading indicator
mgLayer.events.register("loadstart", mgLayer, function () {
$(".readyMAP").remove();
Pace.restart();
});

mgLayer.events.register("loadend", mgLayer, function () {
$("#map").append("");
});

Ha...it may not be the best way to do it.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/New-Looks-of-the-Mobile-GIS-Mapping-Viewer-The-Town-of-Qualicum-Beach-tp5242395p5242857.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New Looks of the Mobile GIS/Mapping Viewer - The Town of Qualicum Beach

2015-12-23 Thread Basques, Bob (CI-StPaul)
I’m a lurker on the List.  I use MapServer for all my Aerials via a backend 
Pyramided data structure.  The general idea is to set up the service to only 
drop pixels and reduce the amount of pixel interpolation required.

Basically the calls should always be using a pyramid layer that is at a higher 
resolution than desired output resolution.

You could incorporate MapServer as a WMS source in this way.

bobb



> On Dec 23, 2015, at 10:50 AM, RenoSun  wrote:
> 
> Hi Blammo,
> 
> Yes, the Aerial tiles are the slowest. I think I will have to involve some
> cloud computing tech to make my Aerial tiles as fast as Google/Bing map
> tiles. Any ideas?
> 
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/New-Looks-of-the-Mobile-GIS-Mapping-Viewer-The-Town-of-Qualicum-Beach-tp5242395p5242858.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New Looks of the Mobile GIS/Mapping Viewer - The Town of Qualicum Beach

2015-12-23 Thread RenoSun
Hi Blammo,

Yes, the Aerial tiles are the slowest. I think I will have to involve some
cloud computing tech to make my Aerial tiles as fast as Google/Bing map
tiles. Any ideas?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/New-Looks-of-the-Mobile-GIS-Mapping-Viewer-The-Town-of-Qualicum-Beach-tp5242395p5242858.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New Looks of the Mobile GIS/Mapping Viewer - The Town of Qualicum Beach

2015-12-22 Thread Jackie Ng
How are you doing % load progress?

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/New-Looks-of-the-Mobile-GIS-Mapping-Viewer-The-Town-of-Qualicum-Beach-tp5242395p5242719.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New Looks of the Mobile GIS/Mapping Viewer - The Town of Qualicum Beach

2015-12-22 Thread RenoSun
Thanks Jackie!

It's the "sidebar-v2" template you posted on your blog before.

I love it :)



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/New-Looks-of-the-Mobile-GIS-Mapping-Viewer-The-Town-of-Qualicum-Beach-tp5242395p5242698.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] New Looks of the Mobile GIS/Mapping Viewer - The Town of Qualicum Beach

2015-12-21 Thread Jackie Ng
VERY NICE!

That's sidebar-v2 template is slick ain't it?

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/New-Looks-of-the-Mobile-GIS-Mapping-Viewer-The-Town-of-Qualicum-Beach-tp5242395p5242398.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users