[mapguide-users] mapguide_tile_seeder.html problems

Zac Spitzer zac.spitzer at gmail.com
Fri Dec 19 19:13:36 EST 2008


ok, it's a pure openlayers question then, which fusion / flexible
layers & studio also uses

in the mapguide server access log you should be seeing GetTile requests

opening the map in the basic viewer should be generating the same
initial GetTile requests
as the tiler should be generating (unless you have an custom initial
view specified)

can you post access log extracts generated by both the tiler and the
basic viewer?

BTW which one of these projections are you using?

http://spatialreference.org/ref/?search=Montana&srtext=Search

z


On Sat, Dec 20, 2008 at 7:47 AM, Dave Wilson <dave.wilson at autodesk.com> wrote:
> Ok that doesn't appear to be exactly the problem. I do get the center of the map shown by the alert so the bounds are correct.
>
> I tried the seeder with Sheboygan and that works, but it fails to load my non-LL84 based map. There are no errors in the server error log to indicate the call to center and zoom the map fails. The bounds and coordinates all look good. The map just isn't loaded and I can't see a reason for it. It's not something silly like the path is wrong otherwise I'd be getting errors in the server error log.
>
> Otherwise it looks cool when it runs Sheboygan.
>
> Dave
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Zac Spitzer
> Sent: Friday, December 19, 2008 12:42 AM
> To: MapGuide Users Mail List
> Subject: Re: [mapguide-users] mapguide_tile_seeder.html problems
>
> whats does alert(extent.getCenterLonLat()); shown?
>
> z
>
> On Fri, Dec 19, 2008 at 11:34 AM, Dave Wilson <dave.wilson at autodesk.com> wrote:
>> I'm not a programmer per say, but I'm technical enough to break things
>> rather well J
>>
>>
>>
>> I'm trying to use the mapguide_tile_seeer.html in the context of MapGuide
>> Enterprise 2009.
>>
>>
>>
>> I copied the script to my www folder (virtual directory root of my MapGuide
>> site).
>>
>> I edited the reference to OpenLayers to be <script
>> src="http://openlayers.org/api/OpenLayers.js"></script>
>>
>> I changed my main URL.
>>
>> I changed my bounds to match my map (note for coordinate systems with bounds
>> that are not lat/lon don't include comma separators in the bounds values).
>>
>> I changed my temp scales to match those defined in my map.
>>
>> I changed my map definition to point to my map resource.
>>
>> I changed the base layer group name.
>>
>>
>>
>> My map is not in a Lat/Lon coordinate system, but Montana State Plane. My
>> map doesn't load. I'm guessing that the line to center the map fails as it's
>> trying to do a map.setCenter(extent.getCenterLonLat());
>>
>>
>>
>> What do I need to modify this to for non-LonLat maps?
>>
>>
>>
>> Or is the problem likely something else. I know my path to my map is valid.
>>
>>
>>
>> Any help is appreciated.
>>
>>
>>
>> I would also like to add that maybe some comments in the top of the file to
>> highlight the 7 required steps above might be useful in explaining how to
>> use the file J
>>
>>
>>
>> Dave
>>
>>
>>
>> Dave Wilson
>>
>> GBU CRT, Calgary
>>
>> Autodesk Canada Inc
>>
>> Ph: 403.538.3069
>>
>> Fax: 403.264.1442
>>
>>
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>
>
>
> --
> Zac Spitzer -
> http://zacster.blogspot.com
> +61 405 847 168
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>



-- 
Zac Spitzer -
http://zacster.blogspot.com
+61 405 847 168


More information about the mapguide-users mailing list