[mapguide-users] mobileviewer
Jacco Wanders | TTE Consultants
wanders at engineers.nl
Fri Jan 31 08:26:31 PST 2014
Dear Jackie,
Another question.. I'am trying make your decicated viewer (http://themapguyde.blogspot.com.au/2012/06/rolling-your-own-mapguide-mobile-viewer.html) working on my server. The samboyen Sheboyan sample is available on my mapguide (2.5.1).
Is this because I haven'tinstalled bootstrap?..probably a stupid question..but as I can see I have to install also bower ect..I want to be careful with installation because the server is in production...
http://tte-geosolution.mr-hosting.nl/mobileviewer/main.html
-----Oorspronkelijk bericht-----
Van: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] Namens mapguide-users-request at lists.osgeo.org
Verzonden: donderdag 30 januari 2014 21:00
Aan: mapguide-users at lists.osgeo.org
Onderwerp: mapguide-users Digest, Vol 85, Issue 26
Send mapguide-users mailing list submissions to
mapguide-users at lists.osgeo.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.osgeo.org/mailman/listinfo/mapguide-users
or, via email, send a message with subject or body 'help' to
mapguide-users-request at lists.osgeo.org
You can reach the person managing the list at
mapguide-users-owner at lists.osgeo.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of mapguide-users digest..."
Today's Topics:
1. Re: Watermark is still visible when the layer is turned off
(Jackie Ng)
2. Re: RenderMap and selection color wish (Jackie Ng)
3. [MApGuide 2.4)Publish WMS Layer with Where Clause (R?my Gourrat)
4. [MapGuide 2.4]WMS Layer not displayed in the layer list in
WMS Client (Qgis, Gaia...) (R?my Gourrat)
5. mapguide-users Digest, Vol 85, Issue 25 message 6 problem
solved (Jacco Wanders | TTE Consultants)
6. Mapguide fusion 2.6 | geolocation issue
(Jacco Wanders | TTE Consultants)
7. Re: Mapguide fusion 2.6 | geolocation issue (Jackie Ng)
8. Re: Mapguide fusion 2.6 | geolocation issue (Hans Milling)
9. Re: Zoom to selected feature point doesn't work (qgfanver2)
----------------------------------------------------------------------
Message: 1
Date: Wed, 29 Jan 2014 17:42:33 -0800 (PST)
From: Jackie Ng <jumpinjackie at gmail.com>
To: mapguide-users at lists.osgeo.org
Subject: Re: [mapguide-users] Watermark is still visible when the
layer is turned off
Message-ID: <1391046153352-5100830.post at n6.nabble.com>
Content-Type: text/plain; charset=us-ascii
It's probably a bug.
Map-level watermarks should always be visible. Layer-level watermarks should only be visible based on the layer's visibility state.
- Jackie
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Watermark-is-still-visible-when-the-layer-is-turned-off-tp5100725p5100830.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
------------------------------
Message: 2
Date: Wed, 29 Jan 2014 17:51:49 -0800 (PST)
From: Jackie Ng <jumpinjackie at gmail.com>
To: mapguide-users at lists.osgeo.org
Subject: Re: [mapguide-users] RenderMap and selection color wish
Message-ID: <1391046709701-5100831.post at n6.nabble.com>
Content-Type: text/plain; charset=us-ascii
Feasibility-wise, it's very simple.
All current overloads of RenderMap funnel into an internal RenderMapInternal method that does the actual rendering, but none of the overloads of RenderMap pass a selection color into the MgRenderingOptions used by RenderMapInternal, so it defaults to blue.
As mentioned, the solution is to simply offer one or more overloads of RenderMap that takes a selection color and have that particular overload pass the color down to RenderMapInternal.
The question then is how many new overloads of RenderMap do you provide?
Because there's many different signatures of RenderMap in the API. Do we replicate each overload that currently exists and provide a version that takes a selection color? Or just replicate the one that has the most parameters and provide copy of that overload that also takes a selection color.
- Jackie
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/RenderMap-and-selection-color-wish-tp5100527p5100831.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
------------------------------
Message: 3
Date: Thu, 30 Jan 2014 02:10:19 -0800 (PST)
From: R?my Gourrat <rgourrat at ag-carto.fr>
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] [MApGuide 2.4)Publish WMS Layer with Where
Clause
Message-ID:
<238B1E1830D86F46B3F030D491793D6002F812F5 at EXC2010.aditu.fr>
Content-Type: text/plain; charset="utf-8"
Hi,
I Publish WMS Layer and it's running fine.
In lot of WMS Client Software I can see a field "Parameter" that i think it's to put some Where Clause
In Maestro, in WMS Properties of my layer I enable "Queryable"
But in mapagent.fcgi WMS GetMap webmethod i can't see a Parameter like this : Filter, Query, parameter or other...
I tried this
http://m6300:8008/mapagent.fcgi?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=ZZ_Samples/Sheboygan/Layers/Districts&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=43.68,-87.74,43.815,-87.69&WIDTH=1235&HEIGHT=987&FILTER="Autogenerated_SDF_ID = 7"
WMS MapGuide Service don't take this parameter
WMS process use the same process like AjaxViewer with Session that we can modify with WebAPI ?
Thanks for your advice
R?my
-----
AG-Carto - Bayonne
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/MApGuide-2-4-Publish-WMS-Layer-with-Where-Clause-tp5100871.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20140130/26006175/attachment-0001.html>
------------------------------
Message: 4
Date: Thu, 30 Jan 2014 02:18:44 -0800 (PST)
From: R?my Gourrat <rgourrat at ag-carto.fr>
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] [MapGuide 2.4]WMS Layer not displayed in the
layer list in WMS Client (Qgis, Gaia...)
Message-ID:
<238B1E1830D86F46B3F030D491793D6002F81312 at EXC2010.aditu.fr>
Content-Type: text/plain; charset="utf-8"
Hi,
Just a note,
If you publish a WMS layer MapGuide, you must give a title with no spaces and a keyword (spaces or not) in the properties of the WMS layer.
QGIS Gaia and do not display the layer if these conditions are not full.
R?my
-----
AG-Carto - Bayonne
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/MapGuide-2-4-WMS-Layer-not-displayed-in-the-layer-list-in-WMS-Client-Qgis-Gaia-tp5100873.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20140130/e25b7907/attachment-0001.html>
------------------------------
Message: 5
Date: Thu, 30 Jan 2014 10:20:20 +0000
From: Jacco Wanders | TTE Consultants <wanders at engineers.nl>
To: "mapguide-users at lists.osgeo.org" <mapguide-users at lists.osgeo.org>
Subject: [mapguide-users] mapguide-users Digest, Vol 85, Issue 25
message 6 problem solved
Message-ID:
<41E5072787FFF54BB705A90834D189E458B82E1E at CPI1MS01.hosting.local>
Content-Type: text/plain; charset="us-ascii"
Dear users,
I just the solved the problem...It was my own mistake, The coordinate system in the mapsetting was incorrect.
The bing and openstreet map service layers are working fine and fast now. There is however a displacement with the Google Map V3 layers. For the time-being bingmaps is just fine.
Below a link the fusion map:
http://tte-geosolution.mr-hosting.nl/mapguide/hembrug/Mapguide_test_bing_googlemaps.php
------------------------------
6. Mapguide coordinate projection issue (RD_new and commercial
maps) (Jacco Wanders | TTE Consultants)
Message: 6
Date: Wed, 29 Jan 2014 14:35:58 +0000
From: Jacco Wanders | TTE Consultants <wanders at engineers.nl>
To: "mapguide-users at lists.osgeo.org" <mapguide-users at lists.osgeo.org>
Subject: [mapguide-users] Mapguide coordinate projection issue (RD_new
and commercial maps)
Message-ID:
<41E5072787FFF54BB705A90834D189E458B82BE6 at CPI1MS01.hosting.local>
Content-Type: text/plain; charset="iso-8859-1"
Dear users,
I can't manage to make a good/accurate transformation from Dutch coordinate systeem (RD_new) to WGS84.pseudoMercator in mapguide in conjunction with commercial layers! See figure below.
[cid:image005.jpg at 01CF1D07.CE903E90]
Steps carried out:
Arcmap:
Coordinate transformation from RD_new to WGS_1984_Web_Mercator_Auxiliary_Sphere
Xy coordinate system shapfile:
WGS_1984_Web_Mercator_Auxiliary_Sphere
WKID: 3857 Authority: EPSG
Projection: Mercator_Auxiliary_Sphere
False_Easting: 0,0
False_Northing: 0,0
Central_Meridian: 0,0
Standard_Parallel_1: 0,0
Auxiliary_Sphere_Type: 0,0
Linear Unit: Meter (1,0)
Mapguide
-Coordinate systeem override (type EPSG code: 3857)
[cid:image006.jpg at 01CF1D07.CE903E90]
I hope someone has a solution for solving this problem.
I?m using:
Windows server 2008 R2, IIS 7
Mapguide 2.5.1.7768
Maestro: 5.0.1.7889
Fusion 2.6
Thanks in advance!
Jacco Wanders
------------------------------
Message: 6
Date: Thu, 30 Jan 2014 10:30:05 +0000
From: Jacco Wanders | TTE Consultants <wanders at engineers.nl>
To: "mapguide-users at lists.osgeo.org" <mapguide-users at lists.osgeo.org>
Subject: [mapguide-users] Mapguide fusion 2.6 | geolocation issue
Message-ID:
<41E5072787FFF54BB705A90834D189E458B82E32 at CPI1MS01.hosting.local>
Content-Type: text/plain; charset="us-ascii"
Dear users,
I managed to install/bundle fusion 2.6 because I wanted to test the geolocation widget.
On my smartphone (samsung galaxy s3) with gps enabled I receive the following message when I press the geolocation button...
" Your position is outside the initial view of the map"
This is strange because the intial view is set to the Netherlands where I am at the moment, with coordinate systeem set tot pseudo.mercator.
Initial mapview parameters:
Lower left x: 373829.175643981 y: 6577278.62798246
Upper right x: 804654.77639247 y: 7085550.43336122
See link for the map please:
http://tte-geosolution.mr-hosting.nl/mapguide/hembrug/Mapguide_test_bing_googlemaps.php
I hope someone can point me on the right direction. At this moment I don't have a clue what to do...
Thanks in advance
Jacco Wanders
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20140130/b9335277/attachment-0001.html>
------------------------------
Message: 7
Date: Thu, 30 Jan 2014 03:09:35 -0800 (PST)
From: Jackie Ng <jumpinjackie at gmail.com>
To: mapguide-users at lists.osgeo.org
Subject: Re: [mapguide-users] Mapguide fusion 2.6 | geolocation issue
Message-ID: <1391080175159-5100892.post at n6.nabble.com>
Content-Type: text/plain; charset=us-ascii
HTML5 geolocation has varying levels of accuracy. We have no guarantee that the position we get back from the API is your definitive location. There will always be margins of error attached to the result.
For example, if I geolocate from my desktop computer at home my reported "position" is 15-20 km from my actual location (because my desktop doesn't have a physical GPS, so Google Chrome uses alternative means).
If I geolocate from my phone, the position is much more accurate because it has access to dedicated GPS hardware.
To debug, you could alert the geolocated coordinates (which will be LL84
coordinates) before the widget moves/zooms to that geolocated coordinates and see if they are close to your area.
If they are, the something is wrong with the LL84 -> WGS84.PseudoMercator transformation. If they aren't, then I suspect something is wrong with the GPS hardware on your Galaxy S3, especially if you are getting consistently inaccurate results.
- Jackie
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapguide-fusion-2-6-geolocation-issue-tp5100877p5100892.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
------------------------------
Message: 8
Date: Thu, 30 Jan 2014 04:41:41 -0800 (PST)
From: Hans Milling <hm at geograf.dk>
To: mapguide-users at lists.osgeo.org
Subject: Re: [mapguide-users] Mapguide fusion 2.6 | geolocation issue
Message-ID: <1391085701205-5100913.post at n6.nabble.com>
Content-Type: text/plain; charset=us-ascii
You can use the Proj4js library to convert the GPS coordinates from WGS84 to something else. Then you can see what coordinates your GPS device is reporting relative to the projection that your map is using. This is what I do to convert to UTM32N:
Proj4js.defs["EPSG:25832"] = "+proj=utm +zone=32 +ellps=GRS80 +units=m
+no_defs"; // Not sure if needed or this is just related to my
+OpenLayers
map.
var gpsll = new Proj4js.Point(gpslongitude, gpslatitude); var source = new Proj4js.Proj('EPSG:4326'); var dest = new Proj4js.Proj('EPSG:25832'); var utm32n = Proj4js.transform(source, dest, gpsll);
console.log("x: "+umt32n.x+", y: "+utm32n.y); //<-Does not work in old versions of IE
Best regards
Hans Milling
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapguide-fusion-2-6-geolocation-issue-tp5100877p5100913.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
------------------------------
Message: 9
Date: Thu, 30 Jan 2014 11:35:42 -0800 (PST)
From: qgfanver2 <jcssccn at interia.pl>
To: mapguide-users at lists.osgeo.org
Subject: Re: [mapguide-users] Zoom to selected feature point doesn't
work
Message-ID: <1391110542825-5101017.post at n6.nabble.com>
Content-Type: text/plain; charset=us-ascii
Nothing has changed with this issue? This is the basic funcionality.
Anyone has a solution that was used in their own aplication?
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Zoom-to-selected-feature-point-doesn-t-work-tp5095926p5101017.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
------------------------------
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
End of mapguide-users Digest, Vol 85, Issue 26
**********************************************
More information about the mapguide-users
mailing list