Re: [mapguide-users] Mapguide 3.1 WFS service
I have been able to get WFS working on mapguide. I indeed had to change the port. But also performance was quite bad - I would not recommend doing it. Kind Regards, Johan On Wed, Aug 30, 2017 at 2:30 PM, Kajarwrote: > Yes, if anyone have sucessfully setup Mapguide 3.1 WFS service in Apache > server then share it please. > > > > -- > 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 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] install mapguide 3.1 on ubuntu
I'm surprised this gives an error as the script has #!/bin/bash as the first line Anyway, a quick fix: replace pushd with cd and remove popd. This will work, but you will end up in the temporary directory after the script. cd ${TEMPDIR} main Kind Regards, Johan On Thu, Dec 29, 2016 at 10:28 AM, artswrote: > I use default shell. Try sudo dpkg-reconfigure dash - don't help > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/install-mapguide-3-1-on-ubuntu-tp5301474p5301527.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] MapGuide Download Layer data
On Tue, May 24, 2016 at 4:47 PM, GordonLwrote: > Since mapguide-rest can spit out GeoJSON, you could use a third party web > service to convert from GeoJSON to SHP such as https://ogre.adc4gis.com/ > > or script your own with something like ogr2ogr > Starting from geojson, you can convert to shape in the browser. https://github.com/mapbox/shp-write Kind Regards, Johan ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MapGuide Download Layer data
On Tue, May 17, 2016 at 11:56 AM, Jackie Ngwrote: > MapGuide is not suited for the purpose of bulk converting spatial data from > PostgreSQL/SQLServer in to a data format (SHP?) that users can download > on-the-fly and on-demand. You could consider FDO2FDO to actually copy the data. Since your application also uses FDO (through mapguide) you will be using the same libraries for both download and visualisation. http://www.sl-king.com/fdo2fdo/fdo2fdo.html I agree with Jackie that you should not wait for the data to convert on the fly. Do people need the last version when they download? I have some files which are generated overnight. Download can then be started immediately. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Editing DWG with MapGuide Open Source?
On Mon, May 9, 2016 at 3:23 AM, Jackie Ngwrote: > No. There is no support for read/write of DWG files in MGOS. > > You need Autodesk Infrastructure Map Server at a minimum to be able to read > DWG files (they have a dedicated FDO provider to read DWG files). I do not > know if this provider can write to DWG files. > No, it can not write to dwg. You will have a hard time finding any free software supporting DWG. Kind Regards, Johan ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] The roadblock for Ubuntu 14.04 support
On Mon, Nov 23, 2015 at 2:17 PM, Jackie Ngwrote: > Hi All, > > For the longest time, the official supported version of Ubuntu for MapGuide > is Ubuntu 12.04 LTS. > > The reason for this is because on 14.04 there is a blocking issue with > server stability. If you load the Sheboygan map and do several zooms and > pans, MapGuide will quickly crash with a stack trace like this: > Does the same error happen when using the system libagg-dev? Note will actually change the license of the compiled binaries to GPL, but at least worth trying. Kind Regards, Johan ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Mapguide OS 3 and Ubuntu 14.04 LTS 64bits
On Fri, Jul 31, 2015 at 6:13 AM, Jackie Ng jumpinjac...@gmail.com wrote: Sorry, Ubuntu 14.04 isn't supported natively because of some instability in the AGG renderer / font handling code on this particular veresion. Has this problem been documented somewhere? ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] QGIS to MapGuide
Actuallly you can export QGIS symbology to SLD, which is an OGC standard and the style that eg geoserver uses. It definitely would be cool to have some import feature from (and perhaps to-) SLD in mapguide. Johan ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] mapguide-rest feedback
Jackie, In fact one of my colleagues created a similar which do this (in .net). We have a function setlayervisibilityfilter to which you can pass a list of features: groupon: group1, group2 groupoff: group3 layeron: layer1 filteron: layer1:id4 apart from that the mapid of course. I think we even added things like selectability in the end. This may give some inspiration on how you could do this. Johan On Fri, Oct 24, 2014 at 3:35 PM, Jackie Ng jumpinjac...@gmail.com wrote: I don't believe such functionality is available. It's definitely something to consider, but I'd have to think how to best do layer/group toggling in a REST-ful manner. - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapguide-rest-feedback-tp5168657p5169414.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] Any version of MGOS 64bit on Linux available?
Is there a testsuite that reveals these errors? How can this be run? Johan On Thu, Aug 28, 2014 at 12:55 PM, Jackie Ng jumpinjac...@gmail.com wrote: Here's a laundry list of blockers that I know of that are preventing us from a working 64-bit build of MapGuide. 1. The FDO SHP provider's spatial indexing is not working properly on 64-bit linux (breaks spatial queries on SHP files). 2. Quality of RDBMS FDO providers is an unknown quantity. 3. MapGuide feeds incorrect AGF binary data to FDO in 64-bit linux. Causes MapGuide-issued spatial queries to fail as FDO is not creating the correct FDO query geometries from the byte array fed from the MgAgfReaderWriter 4. MgMapBase destructor segfaults when attempting to save a MgMap. This breaks any attempts to save map state and prevents the AJAX and Fusion viewers from properly initializing (as both do a MgMap.Save() as part of its initialization) Items 1 and 2 simply leave us with a smaller subset of functional FDO providers if not fixed. Items 3 and 4 are must fixes. We're really brain-drained on how to resolve these items. - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Any-version-of-MGOS-64bit-on-Linux-available-tp5158750p5158829.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] Leaflet MapGuide
You can use WMS with leaflet, and mapguide can serve WMS. Johan On Thu, Oct 17, 2013 at 10:50 PM, Rich Bauer rdba...@gmail.com wrote: Jackie and Gordon, Thanks for the info. When I tried to use GeoRest last, I believe I had issues working with the newer version of MapGuide. What version of MapGuide are you working with or are you doing it directly with the data sources? Thanks, Rich On Thu, Oct 17, 2013 at 3:16 PM, GordonL gordon.luck...@arrowgeomatics.com wrote: Hi, I just use GeoRest with GEOJSON in Leaflet. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Leaflet-MapGuide-tp5083729p5084290.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 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Fwd: [OSGeo-Discuss] Why does OSGeo FDO Provider for SQL Server Spatial try to access the wrong database?
Nathan, You are more likely to get good answers on the mapguide mailinglist(I'm forwarding your mail). Johan. -- Forwarded message -- From: Nathan Deneau nathan.den...@asu.edu Date: Wed, Sep 18, 2013 at 10:00 PM Subject: RE: [OSGeo-Discuss] Why does OSGeo FDO Provider for SQL Server Spatial try to access the wrong database? To: Johan Van de Wauw johan.vandew...@gmail.com Cc: disc...@lists.osgeo.org disc...@lists.osgeo.org Yes, AutoCAD Map 3D, sorry. The login that accesses the spatial database from AutoCad Map 3D using the same FDO provider has server admin privileges so he would not receive the same error. This is a SQL Server host with many databases so the administrators will not want to grant me access beyond read access. How do I accomplish this given the following facts? All user logins belong to the public role and cannot be removed from the public role in MS SQL Server. The public role has VIEW ANY DATABASE permission by default in MS SQL Server. So that means we can always expect the default behavior of a login to be able to see all databases even if that user cannot read (select) from all of those databases. I was hoping that the FDO provider would ignore any databases that it can see but not read from and simply move on to the next database in the list eventually finding any databases that the login does have permission to read and accumulating them - or at least either honor the default database of the user login or else allow an option to ignore all but a specified database. The error in my FDO connection test seems to show that it is trying to connect to these other databases and crashes when my login does not have permissions and throws the error I included in my previous post. So I have to assume that there is a more narrow set of allowable configurations of SQL Server, the FDO provider, or Autodesk Studio (e.g. not allowed to have other databases my login can't read on the host, must change public role which potentially affects everyone else on the shared host, must share a user account with owner privileges, must specify a database for the OSGeo FDO provider for SQL Serve Spatial somewhere, must set Autodesk Studio setting somewhere to specify the one spatial database). Thank You, Nathan -Original Message- From: Johan Sent: Tuesday, September 17, 2013 11:40 PM To: Nathan Subject: Re: [OSGeo-Discuss] Why does OSGeo FDO Provider for SQL Server Spatial try to access the wrong database? On Tue, Sep 17, 2013 at 5:52 PM, Nathan wrote: - The author of the SQL Server Spatial database is able to access the geometry from other products (AutoCad I believe). If it really is AutoCAD he probably means AutoCAD Map or Civil 3D. In that case he can export a map to mapguide or autodesk infrastructure map server by choosing file\publish\publish to map server. This will copy the exact settings that were used in autocad. But I think the error is rather due to MS SQL security settings. Are you using the same username/password in both cases? - I can see other database names from Microsoft SQL Management Studio but I do not have permissions to view any details about these databases. - The first database listed in the databases names I can see is the WrongDatabaseNotMyDefault database from the error - the default database for my login is the thirteenth (13th) database down the list! Thanks For Your Help, Nathan ___ Discuss mailing list disc...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] [MapGuide 2.4.0] Autocad Map 3D 2013 can't GETCAPABILITIES in 1.3 from MapGuide
Which server? In general, WMS 1.3.0 is more often broken than previous versions. See eg: http://dmorissette.blogspot.co.uk/2012/12/dont-upgrade-to-wms-130-unless-you.html On Thu, Sep 19, 2013 at 4:40 AM, Zac Spitzer zac.spit...@gmail.com wrote: Have you tried this with 2.5.1? On Tue, Sep 10, 2013 at 5:28 PM, Rémy Gourrat rgour...@ag-carto.fr wrote: Hi, Another question about WMS : My Audocad Map 3D 2013 can’t return nothing in WMS 1.3 from MapGuide (no Wms layer in fdo connection panel) If I switch in 1.1.0 it’s Ok, I see every WMS Layers. MapGuide supports WMS 1.3 in 2.4 and Autocad Map 3D 2013 too. Who believes ? Thanks Rémy AG-Carto - Bayonne View this message in context: [MapGuide 2.4.0] Autocad Map 3D 2013 can't GETCAPABILITIES in 1.3 from MapGuide 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 -- Zac Spitzer +61 405 847 168 ___ 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] [MapGuide 2.4.0] Autocad Map 3D 2013 can't GETCAPABILITIES in 1.3 from MapGuide
If your projection settings in the client and server are not the same (eg one is arbitrary xy and the other is latlon), WMS 1.3.0 canfail, but WMS 1.1.1 will still work. Because the client and server will interprete the coordinates differently (xy vs yx) in WMS 1.3 Johan On Thu, Sep 19, 2013 at 9:17 AM, Rémy GOURRAT rgour...@ag-carto.fr wrote: Zac, i not yet installed 2.5.1 but I will try in few days. Johan, thanks I must read again later this post one more time to understand everything… Rémy ___ 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
[mapguide-users] mapguide meeting at Foss4G 2013 Nottingham
Yes nottingham indeed. If sufficient mapguide users/developers are coming, we could register for a Birds of Feathermeeting. http://wiki.osgeo.org/wiki/FOSS4G_2013_BirdsOfAFeather Johan On Fri, Aug 23, 2013 at 1:01 PM, Mark Spence mark.spe...@aitspatial.co.uk wrote: Or is it Nottingham England? I would be happy to meet up - even off campus if necessary. Kind regards Mark S -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of mapguide-users-requ...@lists.osgeo.org Sent: 21 August 2013 20:00 To: mapguide-users@lists.osgeo.org Subject: mapguide-users Digest, Vol 80, Issue 17 Send mapguide-users mailing list submissions to mapguide-users@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-requ...@lists.osgeo.org You can reach the person managing the list at mapguide-users-ow...@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: FOSS4G N.A. 2013 in Minneapolis (Johan Van de Wauw) 2. How to set layer's order for WMS in Mapguide Maestro? (Andrey Maraev) 3. Re: How to set layer's order for WMS in Mapguide Maestro? (Jackie Ng) 4. Re: How to set layer's order for WMS in Mapguide Maestro? (Andrey Maraev) 5. Re: How to set layer's order for WMS in MapguideMaestro? (Berg, James) 6. Re: How to set layer's order for WMS in Mapguide Maestro? (Jackie Ng) 7. How to add scale on print Widget? (renardchan) 8. I can't modify the en.json file (renardchan) 9. Re: I can't modify the en.json file (Jackie Ng) -- Message: 1 Date: Tue, 20 Aug 2013 22:28:18 +0200 From: Johan Van de Wauw johan.vandew...@gmail.com To: MapGuide Users Mail List mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] FOSS4G N.A. 2013 in Minneapolis Message-ID: cajop35n0wqdkgd4v+euvt4plngqhnxtejlb1rwfwldfyrwc...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Just wondering, any mapguide users/developers coming to foss4g. Even if we don't have a session, we could still have a meeting of some sort. Johan On Wed, Jun 12, 2013 at 4:28 PM, GordonL gordon.luck...@arrowgeomatics.comwrote: Just heard back from FOSS4G 2013 (Nottingham) committee: No MapGuide Open Source at the FOSS4G conference this year. Disappointing. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/FOSS4G-N-A-2013-in-Minneapolis-tp5 048634p5059719.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 -- next part -- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20130820/2b6e74a1/attachment-0001.html -- Message: 2 Date: Wed, 21 Aug 2013 10:51:32 +0400 From: Andrey Maraev asmar...@gmail.com To: MapGuide Users Mail List mapguide-users@lists.osgeo.org Subject: [mapguide-users] How to set layer's order for WMS in Mapguide Maestro? Message-ID: CAOFU10mdcEXEo=HhsqhZAm=wvhh_9tmzdwayqvg-lfk5zp5...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Hello! Does anyone know how to set layer's order for WMS in Maestro 5.0? I just available a few layers for WMS access in properties but when I see the layer's order via GetCapabilities request I'm not happy)) Also I suppose I can configure one layer included the decriptions all of the layers and finally I see one big layer in WMS contained many descriptions of the layers. right? -- Best Regards -- next part -- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20130821/1bd0af97/attachment-0001.html -- Message: 3 Date: Wed, 21 Aug 2013 00:09:11 -0700 (PDT) From: Jackie Ng jumpinjac...@gmail.com To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] How to set layer's order for WMS in MapguideMaestro? Message-ID: 1377068951314-5073505.p...@n6.nabble.com Content-Type: text/plain; charset=us-ascii Huh? I would've thought draw order of WMS layer would be the responsibility of the WMS *client* application and not the WMS server. - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-set-layer-s-order-for-WMS-in-Mapguide-Maestro-tp5073504p5073505.html Sent from the MapGuide Users mailing list archive
Re: [mapguide-users] FOSS4G N.A. 2013 in Minneapolis
Just wondering, any mapguide users/developers coming to foss4g. Even if we don't have a session, we could still have a meeting of some sort. Johan On Wed, Jun 12, 2013 at 4:28 PM, GordonL gordon.luck...@arrowgeomatics.comwrote: Just heard back from FOSS4G 2013 (Nottingham) committee: No MapGuide Open Source at the FOSS4G conference this year. Disappointing. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/FOSS4G-N-A-2013-in-Minneapolis-tp5048634p5059719.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] Vector tile support (Was re: HTML5 client-side viewer (Was re: Re-thinking Fusion redlining efficiency))
A nice demo of vector tiles using different of the options I mentioned below (polymaps,leaflet, D3): http://www.somebits.com/weblog/tech/vector-tile-river-map.html Apart from serving the geometry, ideally the formatting from the map/layerdefinitions should also be served (using SLD or something simpler). On Thu, Jul 18, 2013 at 9:28 AM, Johan Van de Wauw johan.vandew...@gmail.com wrote: Some ideas: Polymaps: can consume vector tiles. Demo at: http://polymaps.org/ex/statehood.html Openlayers plugin: http://openlayerstools.sourceforge.net/src/Strategy_TFS.js Leaflet has gained more popularity. A custom verion of leaflet is also used by giscloud. Also here plugins that support tiled geojson: https://github.com/glenrobertson/leaflet-tilelayer-geojson Not really a gis viewer yet, but many people are working on it based on d3. See eg: https://github.com/d3/d3-plugins/tree/master/geo/tile and http://bl.ocks.org/mbostock/5593150 I'm interested in helping out. Johan On Wed, Jul 17, 2013 at 11:59 AM, Jackie Ng jumpinjac...@gmail.com wrote: Hi All, Does anybody know what JS mapping libraries out there currently support or consume layers based on vector tiles? I've been reading up a bit on vector tiles. This looks like something that is very doable for MapGuide as the majority of the plumbing and infrastructure to do this is already there. - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Vector-tile-support-Was-re-HTML5-client-side-viewer-Was-re-Re-thinking-Fusion-redlining-efficiency-tp5067003.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] Vector tile support (Was re: HTML5 client-side viewer (Was re: Re-thinking Fusion redlining efficiency))
Some ideas: Polymaps: can consume vector tiles. Demo at: http://polymaps.org/ex/statehood.html Openlayers plugin: http://openlayerstools.sourceforge.net/src/Strategy_TFS.js Leaflet has gained more popularity. A custom verion of leaflet is also used by giscloud. Also here plugins that support tiled geojson: https://github.com/glenrobertson/leaflet-tilelayer-geojson Not really a gis viewer yet, but many people are working on it based on d3. See eg: https://github.com/d3/d3-plugins/tree/master/geo/tile and http://bl.ocks.org/mbostock/5593150 I'm interested in helping out. Johan On Wed, Jul 17, 2013 at 11:59 AM, Jackie Ng jumpinjac...@gmail.com wrote: Hi All, Does anybody know what JS mapping libraries out there currently support or consume layers based on vector tiles? I've been reading up a bit on vector tiles. This looks like something that is very doable for MapGuide as the majority of the plumbing and infrastructure to do this is already there. - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Vector-tile-support-Was-re-HTML5-client-side-viewer-Was-re-Re-thinking-Fusion-redlining-efficiency-tp5067003.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] Re-thinking Fusion redlining efficiency
I like the ideas, but rather than focusing on the fusion viewer I think the first focus should be on how to serve the data so it can be used in any viewer/client. Integrating georest may be an option. Improving wfs support could be another one. Serving vector tiles is a third one. In fact with html 5 it seems more logical to do all vector rendering on the client, as was done in the (autodesk) mapguide activeX. Having vector layers in open layers also has other advantages: eg you can enable snapping when digitizing. I've done this with a mapguide wfs before. Johan On Wed, Jul 10, 2013 at 4:34 AM, Jackie Ng jumpinjac...@gmail.com wrote: Hi All, I've been thinking about the efficiency of drawing redlines in Fusion. While we've eliminated most of the workflow slowness in the data store and layer setup before you even get to start drawing your lines and squiggles, the actual drawing process still seems woefully inefficient where each geometry drawn triggers a map refresh. For really heavy maps, redlining against them seems to be very inefficient I'm starting to float the idea of a client-side staging area for newly drawn redlines. The idea is that when you draw your redlines they don't immediately get saved to your redline SDF/SHP/SQLite feature source server-side, instead they are stored client-side in a OpenLayers.Layer.Vector. This would then allow the user to draw multiple objects rapidly in succession without interruptions from map refreshes. When they're done, the user can then commit and save the whole lot of client-side redlines into the redline SDF/SHP/SQLite feature source in one go and then the widget can trigger a map refresh. So the process for drawing 5 redlines is currently: * Invoke Redline widget * Choose redline data store type (in Fusion trunk, this option can be shortcutted thus skipping this step) * Draw redline #1 - Triggers map refresh * Draw redline #2 - Triggers map refresh * Draw redline #3 - Triggers map refresh * Draw redline #4 - Triggers map refresh * Draw redline #5 - Triggers map refresh The process of drawing 5 redlines under this theoretical revised widget would look like this. * Invoke Redline widget * Choose redline data store type (in Fusion trunk, this option can be shortcutted thus skipping this step) * Draw redline #1 * Draw redline #2 * Draw redline #3 * Draw redline #4 * Draw redline #5 * Review what you've drawn. * If everything's ok, commit and save the lot and trigger map refresh. * If something's wrong, discard/edit the client-side vector objects and commit. The revised widget would cut down the amount of map refreshes, with the small caveat that redlines in the staging area won't have your configured redline styles (they'll be using whatever OpenLayers provides) and they won't show up in any plots of the map until they've been committed by the user. Thoughts? - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-thinking-Fusion-redlining-efficiency-tp5065272.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] HTML5 client-side viewer (Was re: Re-thinking Fusion redlining efficiency)
On Fri, Jul 12, 2013 at 10:44 AM, Jackie Ng jumpinjac...@gmail.com wrote: I would prefer something that allows us to re-use our existing Layer Definitions for client-side vector rendering. I'm not sure whether ol3/leaflet support customizable rendering pipelines where we can take over certain aspects of the rendering process and plug our own method of rendering features in. Creating SLD files is an option we could consider. I too would like a client-side vector viewer. All our viewer technologies thus far are nothing more than glorified LiteView clients, we do need the modern contemporary to the ActiveX viewer. But like I said we really need some discussions with meat in them. All previous discussions have been somewhat fruitless. We should also take into account that we are an osgeo project with a relatively small contributor base. How do we want to differentiate from eg mapserver? Why would developers join mapguide rather than mapserver? If the core advantage of mapguide is offering a good layer, map and viewer authoring tool we should perhaps focus on that and leave the implementation of services and clients to other osgeo projects? ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] WFS Connection from OpenLayers
Here is some openlayers wfs code that works with mapguide. I'm also forcing WFS 1 and GML 2 since they are simpler. You probably want to switch the extent and the projection system to something else than belgium :-) var mapagent = /mapguide/mapagent/mapagent.fcgi; var extent = new OpenLayers.Bounds(22000, 15, 259000, 245000); var mapOptions = { units: m, projection: EPSG:31370, maxExtent: extent }; map = new OpenLayers.Map('map', mapOptions); var styles = new OpenLayers.StyleMap({ default: new OpenLayers.Style(null, { rules: [ new OpenLayers.Rule({ symbolizer: { Point: { pointRadius: 5, graphicName: square, fillColor: white, fillOpacity: 0.25, strokeWidth: 1, strokeOpacity: 1, strokeColor: #aa }, Line: { strokeWidth: 3, strokeOpacity: 1, strokeColor: #ff }, Polygon: { strokeWidth: 1, strokeOpacity: 1, fillColor: #aa, strokeColor: #aa } } }) ] }), }); var renderer = OpenLayers.Layer.Vector.prototype.renderers; var wfs_options = { url: mapagent, params: { REQUEST: GETFEATURE, SERVICE: WFS, VERSION: 1.0.0, TYPENAME: namespacexxx:x, OUTPUTFORMAT: GML2, SRSNAME: EPSG:31370 }, format: new OpenLayers.Format.GML(), renderers: renderer } var wfs = new OpenLayers.Layer.Vector( name, { strategies: [new OpenLayers.Strategy.BBOX()] , visibility: true , featureType: xxx , protocol: new OpenLayers.Protocol.HTTP(wfs_options) , geometryName: Geometry, styleMap: styles, minScale : 10 }); map.addLayer(wfs); On Wed, Jun 19, 2013 at 7:38 PM, Rich Bauer rdba...@gmail.com wrote: I have gotten a little farther and am running into an error that I believe might be MapGuide related. MgStreamIoException? POST http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=AdministratorPassword=admin 559 (MgStreamIoException) XMLHttpRequest.js:220 fXMLHttpRequest_sendXMLHttpRequest.js:220 cXMLHttpRequest.sendXMLHttpRequest.js:262 (anonymous function)Request.js:240 XHR finished loading: http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=AdministratorPassword=admin;. XMLHttpRequest.js:220 fXMLHttpRequest_sendXMLHttpRequest.js:220 cXMLHttpRequest.sendXMLHttpRequest.js:262 (anonymous function)Request.js:240 The response preview is: A stream IO exception occurred. A stream IO exception occurred.- IsapiAgent.HttpExtensionProc() line 211 file IsapiAgent.cpp- IsapiPostParser.Parse() line 196 file IsapiPostParser.cpp I didn't see anything in the server logs through the Site Administrator that stood out to me as being related to this. I can post code if it would help. Thanks, Rich On Fri, Jun 14, 2013 at 12:39 PM, Rich Bauer rdba...@gmail.com wrote: FYI...I also posted in the OpenLayers list because I am not sure now if it is OpenLayers or MapGuide related. OpenLayers link: http://osgeo-org.1560.x6.nabble.com/Connecting-to-MapGuide-via-WFS-td5060238.html On Fri, Jun 14, 2013 at 12:14 PM, Rich Bauer rdba...@gmail.com wrote: Update... I stumbled across something that creates the WFS connection from a WMS Layer. I tried this earlier but evidently had the code wrong. Both layers show up in the Layers panel as it is added to the map, but the WMS layer shows up and the created WFS does not. Code below: var wmsParcels = new OpenLayers.Layer.WMS(Parcels, http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=AdministratorPassword=admin;, { layers: 'Samples/Sheboygan/Layers/Parcels', transparent: true }, { isBaseLayer: false, transitionEffect: 'resize', format: 'image/png' } //{ projection: new OpenLayers.Projection('EPSG:900913') } ); map.addLayer(wmsParcels); var wfsParcels = new OpenLayers.Layer.Vector(WFS Parcels, { protocol: new OpenLayers.Protocol.WFS.fromWMSLayer(wmsParcels) }); map.addLayers([select, wfsParcels]); With this there are no errors showing up in Chrome. On Fri, Jun 14, 2013 at 7:37 AM, RDBauer rdba...@gmail.com wrote: All, I have searched the list and Google and have not been able to find what I need. I am trying to connect to MapGuide (2.5 on test machine but 2.2 on production machine right now)
Re: [mapguide-users] WFS Connection from OpenLayers
Just an addendum to my other post: On Fri, Jun 14, 2013 at 2:37 PM, RDBauer rdba...@gmail.com wrote: All, /Failed to load resource: Origin null is not allowed by Access-Control-Allow-Origin. http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=AdministratorPassword=admin XMLHttpRequest cannot load http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=AdministratorPassword=admin. Origin null is not allowed by Access-Control-Allow-Origin. index.html:1/ You must enable cross domain requests on your WFS server if your WFS is on another server: http://enable-cors.org/ In your case your wfs server is probably the same as your web server. In that case, make sure that the domains match: if you want to load a wfs service from a web page, that page must be on the same domain (http://localhost/) in your case as your server. It is the browser blocking the request. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Building MapGuide kills the CentOS
On Tue, Feb 19, 2013 at 2:36 AM, Zac Spitzer zac.spit...@gmail.com wrote: does anyone still use DWF? Definitely yes. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MapGuide 2.4 on Azure Windows Server 2012 .NET 4.5
On Tue, Feb 5, 2013 at 1:41 PM, David Wilhelmsson david.wilhelms...@65nord.se wrote: Johan - Absolute genius! I did miss the .json MIME type. Adding that fixed the Fusion viewer! Great! I'll update the wiki shortly, so we'll finally have a complete set of instructions for a manual configuration of IIS for MapGuide 2.4/2.5 Preview that I can personally confirm works on Windows 8. Even better! Johan ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MapGuide 2.4 on Azure Windows Server 2012 .NET 4.5
Is json configured as a mime-type in IIS? This one always breaks fusion for me on windows. Check by going to eg http://localhost/mapguide/fusion/config.json If you get a 404 that is missing. Johan On Tue, Feb 5, 2013 at 9:26 AM, David Wilhelmsson david.wilhelms...@65nord.se wrote: Hi Jackie, phpinfo(); successfully works under the Fusion folder, so PHP is working, but I must be missing something else. Tested on Firefox/Chrome/IE to make sure it's not a browser issue, all with the same result of only a background image. Everything looks fine when with view source in the browser as well. Kind regards, Dave. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/MapGuide-2-4-on-Azure-Windows-Server-2012-NET-4-5-tp5007390p5032147.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] Map takes very long time
You don't give any information: what format are your layers in. Do you use any filters? Johan On Mon, Oct 29, 2012 at 3:39 PM, David das Neves ne...@systemtechnik.netwrote: Hello all We have configured a map where 12 (vector) layer are displayed at a zoom level of 1:2500. Herefore the map takes huge time, but i can not figure out why this takes so long. Here is an extract of our log file where can be seen that the method SetResourceData takes 24 seconds. What we did was we just moved the map a little at the described zoom level. 2012-10-29T15:18:00 2920Ajax Viewer ::1 Anonymous GetResourceData.1.0.0:3(Session:0d511186-21d2-11e2-8000-4437e60480c7_de_MTI3LjAuMC4x0AFC0AFB0AFA//Stuttgart.Map,RuntimeData,) Success 2012-10-29T15:18:00 2940Ajax Viewer ::1 Anonymous GetResourceData.1.0.0:3(Session:0d511186-21d2-11e2-8000-4437e60480c7_de_MTI3LjAuMC4x0AFC0AFB0AFA//Stuttgart.Selection,RuntimeData,) Success 2012-10-29T15:18:00 2956Ajax Viewer ::1 Anonymous SetResourceData.1.0.0:4(Session:0d511186-21d2-11e2-8000-4437e60480c7_de_MTI3LjAuMC4x0AFC0AFB0AFA//Stuttgart.Map,RuntimeData,Stream,MgByteReader) Success 2012-10-29T15:18:24 2972Ajax Viewer ::1 Anonymous RenderDynamicOverlay.2.1.0:3(Session:0d511186-21d2-11e2-8000-4437e60480c7_de_MTI3LjAuMC4x0AFC0AFB0AFA//Stuttgart.Map,MgSelection,PNG,2,MgColor) [(3.50292e+006 5.39498e+006) (3.52329e+006 5.41436e+006) ] Success 2012-10-29T15:18:26 2948Ajax Viewer ::1 Anonymous GetResourceData.1.0.0:3(Session:0d511186-21d2-11e2-8000-4437e60480c7_de_MTI3LjAuMC4x0AFC0AFB0AFA//Stuttgart.Map,RuntimeData,) Success 2012-10-29T15:18:26 2936Ajax Viewer ::1 Anonymous QueryFeatures.1.0.0:7(Session:0d511186-21d2-11e2-8000-4437e60480c7_de_MTI3LjAuMC4x0AFC0AFB0AFA//Stuttgart.Map,MgStringCollection,MgGeometry,4,,1,5) Success 2012-10-29T15:18:27 2944Ajax Viewer ::1 Anonymous GetResourceData.1.0.0:3(Session:0d511186-21d2-11e2-8000-4437e60480c7_de_MTI3LjAuMC4x0AFC0AFB0AFA//Stuttgart.Map,RuntimeData,) Success 2012-10-29T15:18:27 2904Ajax Viewer ::1 Anonymous QueryFeatures.1.0.0:7(Session:0d511186-21d2-11e2-8000-4437e60480c7_de_MTI3LjAuMC4x0AFC0AFB0AFA//Stuttgart.Map,MgStringCollection,MgGeometry,4,,1,5) Success 2012-10-29T15:18:29 2976Ajax Viewer ::1 Anonymous GetResourceData.1.0.0:3(Session:0d511186-21d2-11e2-8000-4437e60480c7_de_MTI3LjAuMC4x0AFC0AFB0AFA//Stuttgart.Map,RuntimeData,) Success 2012-10-29T15:18:29 2912Ajax Viewer ::1 Anonymous QueryFeatures.1.0.0:7(Session:0d511186-21d2-11e2-8000-4437e60480c7_de_MTI3LjAuMC4x0AFC0AFB0AFA//Stuttgart.Map,MgStringCollection,MgGeometry,4,,1,5) Success What would be the next steps to see what makes this map so slow?! The computer is an i7 with 6gb of ram but the map is actually pretty not usable because of the huge loading times. We have also tested the used layers with the TatukGIS Viewer which has no problems with it. I would be very thankful for any help. Best Regards David -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Map-takes-very-long-time-tp5012011.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