MapGuide HTTP tiles with Fusion?

5 messages Options
Embed this post
Permalink
Jason Birch

MapGuide HTTP tiles with Fusion?

Reply Threaded More More options
Print post
Permalink
Hi all,
 
Zac's done some work getting MapGuide tiles to serve up as straight HTTP requests.  This technique, combined with multiple hosts (maptiles1.nanaimo.ca, maptiles2.nanaimo.ca, etc) would really make MapGuide tile serving smoke.
 
http://trac.openlayers.org/ticket/1622
 
Does anyone know if this method could be:
 
 - supported as a layer type under Fusion 2
 - added to a Fusion map as a "base layer" at the bottom of a dynamic MapGuide layer?
 
And, failing this, can a standard MapGuide tiled map be used as a base layer at the bottom of a dynamic MapGuide layer in a single Fusion map?
 
This would be a "killer feature" for me.  If it can't currently be done, what kind of effort would be involved in supporting this?
 
Thanks,
Jason
 
_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
zspitzer

Re: MapGuide HTTP tiles with Fusion?

Reply Threaded More More options
Print post
Permalink
fusion 2 is going to support arbitrary openlayers layers i believe :)

the pain is still the manual configuration required to set things up

z

On Mon, Mar 2, 2009 at 7:09 PM, Jason Birch <[hidden email]> wrote:

> Hi all,
>
> Zac's done some work getting MapGuide tiles to serve up as straight HTTP requests.  This technique, combined with multiple hosts (maptiles1.nanaimo.ca, maptiles2.nanaimo.ca, etc) would really make MapGuide tile serving smoke.
>
> http://trac.openlayers.org/ticket/1622
>
> Does anyone know if this method could be:
>
>  - supported as a layer type under Fusion 2
>  - added to a Fusion map as a "base layer" at the bottom of a dynamic MapGuide layer?
>
> And, failing this, can a standard MapGuide tiled map be used as a base layer at the bottom of a dynamic MapGuide layer in a single Fusion map?
>
> This would be a "killer feature" for me.  If it can't currently be done, what kind of effort would be involved in supporting this?
>
> Thanks,
> Jason
>
> _______________________________________________
> fusion-users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/fusion-users
>



--
Zac Spitzer -
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Jason Birch

RE: MapGuide HTTP tiles with Fusion?

Reply Threaded More More options
Print post
Permalink
Yes, I'm just not sure to what extent Fusion2 supports arbitrary layers.  I guess my questions are:
 
- Can multiple OL layers be combined in a single Fusion2 map?
- Can Fusion2 pass through the boolean configuration value required to use an HTTP-based MapGuide tiled map?
 
And if so, can I see an example of what the AppDef would look like for these?
 
Jason

________________________________

From: Zac Spitzer [mailto:[hidden email]]
Sent: Mon 2009-03-02 12:19 AM
To: Jason Birch
Cc: [hidden email]
Subject: Re: [fusion-users] MapGuide HTTP tiles with Fusion?

fusion 2 is going to support arbitrary openlayers layers i believe :)

the pain is still the manual configuration required to set things up

_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Mike Adair

Re: MapGuide HTTP tiles with Fusion?

Reply Threaded More More options
Print post
Permalink
In reply to this post by zspitzer
Once the OpenLayers MapGuide layer includes the patches for #1622 and
#1756, then yes in theory using tiled base layers would be possible.  I
will update Fusion trunk with that patch included eventually.  I did
some quick tests to see what would be involved.

I tried setting a regular MG tiled layer as the base layer with a MG
overlay placed on top of that and it works in theory (I ran into some
visibility issues that I will look into) but it is definitely possible
to do.

Setting an http cache as the base layer (alone or combined with others)
isn't currently supported but worth doing in my opinion.  However there
are a few issues to be decided:

- Fusion will still require a LoadMap call to get the parameters for the
map (extent, scales, layers, etc.).  This can either use the existing
LoadMap call using the tiled MapDefinition resource, but this still
requires an instance of MapGuide to be available.  There are other
server calls that would require a MapGuide instance (e.g. selection,
maptips) so this may not be a big issue.  The alternative is to have a
static json file which is similar to the LoadMap response that can be
used to describe the map.

- the tile cache root URL needs to be specified somewhere, I'm thinking
that config.json is probably the best place for that.

Comments?

Mike

Zac Spitzer wrote:

> fusion 2 is going to support arbitrary openlayers layers i believe :)
>
> the pain is still the manual configuration required to set things up
>
> z
>
> On Mon, Mar 2, 2009 at 7:09 PM, Jason Birch <[hidden email]> wrote:
>  
>> Hi all,
>>
>> Zac's done some work getting MapGuide tiles to serve up as straight HTTP requests.  This technique, combined with multiple hosts (maptiles1.nanaimo.ca, maptiles2.nanaimo.ca, etc) would really make MapGuide tile serving smoke.
>>
>> http://trac.openlayers.org/ticket/1622
>>
>> Does anyone know if this method could be:
>>
>>  - supported as a layer type under Fusion 2
>>  - added to a Fusion map as a "base layer" at the bottom of a dynamic MapGuide layer?
>>
>> And, failing this, can a standard MapGuide tiled map be used as a base layer at the bottom of a dynamic MapGuide layer in a single Fusion map?
>>
>> This would be a "killer feature" for me.  If it can't currently be done, what kind of effort would be involved in supporting this?
>>
>> Thanks,
>> Jason
>>
>> _______________________________________________
>> fusion-users mailing list
>> [hidden email]
>> http://lists.osgeo.org/mailman/listinfo/fusion-users
>>
>>    
>
>
>
>  

--
   Michael Adair
   Senior Software Architect
   DM Solutions Group Inc.

   Office: (613) 565-5056 x26
   [hidden email]
   http://www.dmsolutions.ca
   http://research.dmsolutions.ca


_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users
Jason Birch

RE: MapGuide HTTP tiles with Fusion?

Reply Threaded More More options
Print post
Permalink
Cool.  

This would really help in working around MapGuide's single-threaded
raster provider... but also would allow me to maintain a single base map
that is used by multiple overlays; way less storage, etc, etc.  Hmm.
Ideally, the appdef would allow me to define base maps that would be
available to all "themes".

I wonder if the tile cache root URL would be better specified at the
appdef map level rather than in the config.

The reason I think this is that:

 - in some cases you'd want multiple hosts (tile1, tile2, tile3) to work
around HTTP connection restrictions

 - you may want to pull tiles from different http sources from the same
Fusion instance.

I guess you could store the LoadMap map properties in the AppDef too for
HTTP-based MapGuide base maps.  If you're compiling, it'll get converted
to JSON anyway :)

In my use case, selection and maptips would not be performed on the base
layer, just on overlays.
 
Jason


-----Original Message-----
From: Mike Adair [mailto:[hidden email]]
Sent: March-06-09 11:05 AM
To: Zac Spitzer
Cc: Jason Birch; [hidden email]
Subject: Re: [fusion-users] MapGuide HTTP tiles with Fusion?

Once the OpenLayers MapGuide layer includes the patches for #1622 and
#1756, then yes in theory using tiled base layers would be possible.  I
will update Fusion trunk with that patch included eventually.  I did
some quick tests to see what would be involved.

I tried setting a regular MG tiled layer as the base layer with a MG
overlay placed on top of that and it works in theory (I ran into some
visibility issues that I will look into) but it is definitely possible
to do.

Setting an http cache as the base layer (alone or combined with others)
isn't currently supported but worth doing in my opinion.  However there
are a few issues to be decided:

- Fusion will still require a LoadMap call to get the parameters for the

map (extent, scales, layers, etc.).  This can either use the existing
LoadMap call using the tiled MapDefinition resource, but this still
requires an instance of MapGuide to be available.  There are other
server calls that would require a MapGuide instance (e.g. selection,
maptips) so this may not be a big issue.  The alternative is to have a
static json file which is similar to the LoadMap response that can be
used to describe the map.

- the tile cache root URL needs to be specified somewhere, I'm thinking
that config.json is probably the best place for that.

Comments?

Mike
_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users