Re: [mapguide-users] Raw GeoJson in MapGuide 4.0

2020-11-12 Thread Gunter Becker
Thanks Jackie,

it's a bit awkward indeed, but the comment in your code kind of makes sense
when someone is really using a comma or semicolon in a property name.

Nevertheless I couldn't get it to work via the form. I tried "\t" but when
submitting the form it was translated to "%5Ct". I copied the url from the
developertools an replaced this with "\t". Didn't work either! I then put
the url in encodeUrl()-methode to encode it and finallay worked. "\t" was
translated to "%09" (the encoding for the tab character).

I appreciate your help,
Gunter



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 4K issue

2020-11-12 Thread Albin
Hi!

I know I am replying to an old post, however I figure its better I ask my
questions here first before starting a new on the same topic.

My collegues are increasingly starting to use very broad screens, and the
WMSes that I add to mapguide turn out pink...

My WMS-provider said that their image size for the WMS is limited to 4096 x
4096 pixels.

Is there anything I can do in Mapguide Maestro to accommodate this in the
case of large screens? So that they do not need to fiddle around with
browser size?

Kind regards,
Albin



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Raw GeoJson in MapGuide 4.0

2020-11-12 Thread Jackie Ng
> 1. How to enter specific properties in the properties form field? I tried
> using commas, semicolons and blanks but this didn't work. Using none or
> one
> property is working.

This is a bit awkward, but the delimiter is actually the tab character (ref:
https://github.com/jumpinjackie/mapguide-maestro/blob/master/OSGeo.MapGuide.MaestroAPI/Http/RequestBuilder.cs#L554)

> 2. Ho to request a specific BBOX. Do I have to use a spatial filter in the
> filter form field

Yes, you have to pass a FDO spatial filter to the FILTER parameter, so
something to the effect of: "GeomProperty INTERSECTS GeomFromWkt('WKT of the
bbox polygon')"

Also don't forget to set VERSION=4.0.0 and CLEAN=1, otherwise you'll get the
ugly JSON that this operation previously served in the past

- Jackie



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users