Re: [mapguide-users] Configuration for PostGIS raster
Hi, On Wed, Oct 3, 2018 at 2:50 PM Jackie Ng wrote: > Without knowing much about the GDAL provider internals, but assuming it > uses > GDAL in the same way the OGR provider uses OGR, then I would assume the > DefaultRasterFileLocation property is not necessarily a physical file path, > but rather is actually just an arbitrary data source string and going by > that logic you would set DefaultRasterFileLocation to something like: > > PG:host=localhost port=5432 dbname='mydb' user='postgres' password='secret' > schema='public' table=mytable > thank you Jackie, it workish, it does not give any error, it founds that there is a raster but nothing is displayed if used in a map. I will keep investigating. Regars, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Configuration for PostGIS raster
Hi, all, we're exploring the feasibility of consuming PostGIS raster from MapGuide. According to https://trac.osgeo.org/mapguide/wiki/MGOSGdalProviderFor26And30 it should be feasible. However I cannot find any proper documentation on how to setup FeatureSource and LayerDefinition. In particular OSGEO.Gdal provider accepts some parameters, for instance DefaultRasterFileLocation for file rasters. I cannot find a list of accepted parameters, and how to define a source for a PostGIS Raster. Is there any documentation or may anyone point me at relevant source code? Regards, Gabriele Monfardini - Gabriele Monfardini LdP Progetti GIS tel: 0577.531049 email: monfard...@ldpgis.it ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MapGuide (actually FDO) 64-bit Linux blockers
Dear Jackie, we do care about MapGuide on 64-bit Linux. We have some of them, even in production. But we just use FDO OGR provider, with gdal compiled with PostgreSQL support. We're not using PostgreSQL provider since it need a connection per schema instead of a connection per db. We would need many more database connections and to create a lot of datasources, which is not at all convenient for us. Anyway we support your effort on this, and thank you for your work! Best regards, Gabriele Monfardini On Thu, Feb 15, 2018 at 3:33 PM, Jackie Ng <jumpinjac...@gmail.com> wrote: > Hi All, > > In my MapGuide roadmap announcement I expressed my desire to hopefully see > the "preview" label for MapGuide on 64-bit Linux removed for the next major > release (3.3). > > The "preview" label has stuck for the longest time due to some major > blockers in certain FDO providers. In the hopes of being able to pool in > community effort and/or knowledge to solving this problem faster, I'm going > to detail the blockers that currently lie in the following providers: > > - SHP Provider > - PostgreSQL Provider > - King Oracle > > This is going to be super technical. Be warned. > > For the SHP Provider, the blocker is in the SHP spatial indexing code. It > makes heavy use of the C++ "long" and "unsigned long" data types which is > not portable across platform. sizeof(long) == 8 for 64-bit Linux, while > sizeof(long) == 4 for every other platform we target. The incorrect size > assumptions result in corrupted spatial queries which manifest as features > from a SHP source "randomly" disappearing when queried. Another unrelated > problem is that the SHP test suite currently has test failures on both > Windows and Linux meaning we don't have an objective baseline for "it > works". We should get the test suite back into a passing state first before > being able to tackle this problem with confidence. > > For the PostgreSQL provider, the blocker is also due to use of "long" and > "unsigned long" in the PostGISDriver code. I've partially fixed this > (https://trac.osgeo.org/fdo/changeset/7621), so that the unit test suite > at > least runs to completion with test failures on 64-bit, instead of its > previous behavior of segfaulting out due to incorrect size assumptions in > the PostGISDriver. Now that the unit test suite runs, the majority of the > failures are various overflow errors reported by libpq which once again I > suspect is due to incorrect data type size assumptions. The "blocker" > status > can be removed from this provider when the unit test suite is all passing. > > For the King Oracle provider, I think it is (and has been) a complete > non-starter on Linux. The provider code has built without errors against > the > Linux Oracle Instant Client SDK for the longest time, but admittedly I > never > actually tested this provider on Linux, so it's been a "use at your own > risk" type deal for this provider (even on 32-bit linux). Has this provider > ever worked for anyone on Linux? The key blocker I'm seeing here is mainly > this *8 year old* issue (https://trac.osgeo.org/fdo/ticket/562). I'm not > well versed with this particular provider (nor the OCI library), so my > ability to tackle this problem head-on is limited unlike the other FDO > providers. The lack of an easy to setup and run unit test suite on this > provider also hampers development somewhat. > > So that is what I think are the blockers that prevent me from considering > MapGuide on 64-bit Linux to be production-ready. > > Which is a shame, because a production-ready MapGuide on 64-bit Linux is a > gateway to better docker containers (nobody does and should run 32-bit > applications inside a docker container!), and the reason why the docker > angle is of major interest to me is that we can start to explore some > highly-scalable and load-balanced architectures that are possible with a > reliable MapGuide docker container. But if half the FDO providers don't > work > properly, well ... there's isn't really much of a point. > > So there's my thoughts on the state of 64-bit Linux support for MapGuide. > Thoughts? Insights? Do you even care about MapGuide working on 64-bit > Linux? > Sound off right here on this thread. > > - 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 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Future plans/roadmap for MapGuide Open Source
Hi, we're using Centos 6 MapGuide 32 and 64bit. But I agree it's better to focus in a well supported linux build (and remove 64bit blockers), no problems on which modern distribution is used. Building from source was historically a cumbersome and very slow task, since source is very big due to the huge amount of third party libs/apps and hard coded values in makefiles, that prevent the process to be streamlined. I don't know if something has changed recently in this regard. A dream as a Linux user would be to swap out third party components and user system defaults, shipping only configuration details (f.i. Apache, PHP). This would make also compiling from source much easier and quicker. Best regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] new mapguide project on linux ubuntu
Hi, On Thu, Feb 2, 2017 at 2:14 PM, sebafrwrote: > We are conducting initial studies for a project with Mapguide on a ubuntu > Linux. We have a project running linux 12 with 32 bits, mapguide 2.6 and > Postgresql 9.1 and now we would like to update it all and the first > scenario > was to use linux 14 with 64 bits and Mapguide 3.1 and Postgresql 9.4. > Our current provider only supports 64-bit linux (14 or 16) and did not > succeed in the initial tests. Has anyone ever used similar architecture? > we're currently running maguide 3.0 on centos 6 both 32 and 64 bits. We use OGR Provider with PostgreSQL 9.4/9.5/9.6. We have recompiled libgdal to enable postgresql support. Our setup works and is reasonably stable if load is not too high. Best regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] FDO Postgis provider and schema override
Hi, On Tue, Jul 5, 2016 at 7:29 PM, svlad <svlad.cjell...@web.de> wrote: > What about foreign keys in your setup, you have to ignore them in the XML > schema I had never problems with foreign keys in my test xml schema if a table contains references to other tables there are references to those classes. If you make a FeatureSource for this table, do you include the referenced tables definition in the config.xml or do you omit the foreign key? I think tertium non datur. Or maybe I don't understand correctly your setup. Do you create a FeatureSource for each table, with a config.xml that describe only that table and optionally override it in order to specify the attribute to use as primary key? Am I correct? > > What about schema change, for instance when you create some new table? You > need to launch a script to create the appropriate feature sources > I add new tables via FDO, so the SetResource purges the schema mapping. In addition to that we restart the MG server every night. At every new MapGuide session I test the used datasources if there is a config.xml, if not I create it. ok What about repository size having hundreds of feature sources for db? > We have hundreds of tables the repository size is not the problem. ok > Did you optimize your postres db? > work_mem, shared_buffers, effective_cache_size, checkpoint_segments, > wal_buffers, checkpoint_completion_target, maintenance_work_mem > out of scope, but yes. Its performance is quite good. Did you optimize the MG serverconfig.ini? > Reasonably yes. In my current setup I have a FeatureSource for each database, so I think I can use schema override in a similar setup (one FS for database), but apparently XML seems so long that Mapguide have problems using it. Best regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] FDO Postgis provider and schema override
On Tue, Jul 5, 2016 at 4:30 PM, svlad <svlad.cjell...@web.de> wrote: > The schema override works. > I do it programmatically with the API and create for each table one data > source with one config.xml. > The only caveat is, I can not create new features via FDO. > Thank you for your answer. What about foreign keys in your setup, you have to ignore them in the XML schema What about schema change, for instance when you create some new table? You need to launch a script to create the appropriate feature sources What about repository size having hundreds of feature sources for db? Best regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] FDO Postgis provider and schema override
Thank you for your reply. It takes a lot of time, but GETSCHEMAMAPPING outputs xml schema, and it is quite long. However if I add the xml as a configuration file to the feature source, validation of the feature source takes a lot of time (tens of minutes). Apparently it founds an error in the XML (the error log says there is a mismatch between the identitiy property and the reverse identity property of a foreign key) and recheck the feature source over and over for each layer of the map. I cannot even say if schema override works, since the first time the map is opened it takes ages, apparently doing the same checks on the feature source. Best regards, Gabriele Monfardini --- Vivi come se dovessi morire domani, impara come se dovessi vivere per sempre Mahatma Gandhi On Thu, Jun 30, 2016 at 8:32 PM, vd2 <volkerdresc...@gmx.de> wrote: > To get the schema you could also use the web tier test > GETSCHEMAINFO > Unbenannt.PNG > <http://osgeo-org.1560.x6.nabble.com/file/n5274227/Unbenannt.PNG> > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/FDO-Postgis-provider-and-schema-override-tp5274210p5274227.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] FDO Postgis provider and materialized views
Hi all, we're using FDO Postgis provider in Mapguide open source. In particular FDO 3.8. It seems that materialized views are not (yet) supported. We can workaround the problem creating a regular view that selects all data from the materialized views but then FDO is unable to find a primary key and in general to retrieve information about constraints. Unfortunately AFAIK materialized views are not exposed through information_schema since they are not exactly part of SQL standard. They may be found selecting data from pg_class where relkind='m'. This obviously is postgresql specific. Is there any plan to support materialized views in PostGIS FDO? Best regards, Gabriele Monfardini - Gabriele Monfardini LdP Progetti GIS tel: 0577.531049 email: monfard...@ldpgis.it ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] FDO Postgis provider and schema override
Hi all, I'm using Mapguide with PostgreSQL 9.5 / Postgis 2.2 We're comparing our current setup (OGRProvider with a recompiled gdal library) with using Postgis provider. The problem with our current setup is that when cache is cold it does basically a query for each attribute in each table in the feature source and this takes a lot of time except for small databases. In that regards, PostGIS provider is a lot less dumb, aggregates multiple request in a single query and only for needed tables. But we're having troubles in selecting elements from views. If the view is made from a single table that have a primary key, all works, the view is seen as selectable because the pk may be used also for the view If view definition involves some joins, even if it has an attribute that by construction may be used as a primary key, FDO is not able to recognize it. I've found an interesting old post about FDO schema override, http://themapguyde.blogspot.it/2010/08/using-fdo-schema-overrides.html This is exactly what we need, because in many case it is very difficult to find an attribute that may be used as pk in a view without making a lot of queries, but view creator knows which attribute should be used to identify each row. The problems I've found are the following: - FDO toolbox is unable to dump schema definition in XML. It keep finding errors, such as not finding element in collections. Postgresql is too new? - I was not able to find any XML schema definition file grammar, in order to manually construct and validate the XML override file. Is there an XSD for XML schema definition? Best regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Proposed patch for ticket 2527
Hi Jackie, some "bashisms" were already present in mapguide 3.0 script. I've uploaded a revised version which, AFAIK, is runnable under dash and sh. I've done some basic test under centos and ubuntu, but please test it before deploying, Best regards, Gabriele Monfardini On Thu, May 12, 2016 at 5:17 PM, Jackie Ng <jumpinjac...@gmail.com> wrote: > Hi Gabriele, > > Does your service control script changes assume bash? This service control > script will be used on both CentOS and Ubuntu and although I force bash as > the default shell when building MapGuide for Ubuntu, I wouldn't want to > force this for actual installation on Ubuntu if its shell hasn't changed > from the configured default (dash) > > - Jackie > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Proposed-patch-for-ticket-2527-tp5265746p5266057.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] Proposed patch for ticket 2527
Hi all, I've proposed a patch for https://trac.osgeo.org/mapguide/ticket/2527 (mapguide init script use log_daemon_msg and log_end_msg which are not defined in Centos 6). Best regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MapGuide Open Source 3.0 Preview Release
The x64 tarball works now. I've opened a ticket against mapguide init scripts that uses two functions that are not available on Centos 6 https://trac.osgeo.org/mapguide/ticket/2527 Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MapGuide Open Source 3.0 Preview Release
Hi, the installer for centos 64bit fails. The file http://download.osgeo.org/mapguide/releases/3.0.0/Preview1/centos64/mapguideopensource-3.0.0.8501.amd64.tar.xz is missing. It's upload was not complete successfully? (there is a .filepart) Regards, Gabriele Monfardini --- Vivi come se dovessi morire domani, impara come se dovessi vivere per sempre Mahatma Gandhi On Fri, Jan 16, 2015 at 4:04 PM, Jackie Ng jumpinjac...@gmail.com wrote: And finally, the Ubuntu builds are up. - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/MapGuide-Open-Source-3-0-Preview-Release-tp5181148p5181916.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] Centos Mapguide 2.6 Oracle provider missing
Hi Kajar, I thought this old bug is fixed. So King Oracle provider not working with any distribution of linux? How to use OGR Provider to connect to Oracle base. Is it indeed possible to use OGR Provider to connect to Oracle Base, but as said by Riccardo Pucci, you need to recompile gdal/ogr library with oracle support. FDO libOGR provider links against libgdal found in FDO-x.x.x/lib. So you can recompile it using the same maior version and enabling oracle support. Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Serious CentOS 6.x blocker for MapGuide 2.6 final release
I have some good news. I have identified the offending revision that broke the CentOS build and have verified the fix A working CentOS build of MapGuide 2.6 will be uploaded shortly. Hi Jackie, this is a good news indeed. Thx for your work. Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Requested image has wrong dimensions in Mapguide 2.5.2 with Nokia Lumia
Hi all, tomorrow in a Mapguide 2.5.2 I've noticed a strange error in the log. Error: Out of range. The requested image size exceeds the maximum. thrown in line 362 file ServerRenderingService.cpp Looking at the code it seems that total number of pixels of the requested image is over 2**28 (16kx16k). And indeed the requested image has SETDISPLAYWIDTH=28798SETDISPLAYHEIGHT=11018 This request come from a Nokia Lumia 610 which has a 800x480 display and IE9. One possible explanation is that the user is manually changing request parameters but I deem not very likely. The other is that there is a bug in detecting the size of map image in this particular situation. Has anyone ever experienced such a problem? Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Maestro on Linux
Hi Jackie, I'm currently on Ubuntu 13.04. I use stock mono (2.10.8), and I use mono solely for Maestro. In the past I've also used mono compiled from source, when stock mono was too old. I'll happily test your static builds on Ubuntu 13.04 and on Debian stable/testing. Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] unsuscribe me please
Hi, I also have a gmail address and unsuscribe correctly send me the email for unsubscription. Roberto, did you receive the unsubscribe email? If yes, did you confirm the unsubscription following the instruction in the email? Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] FDO Expression Filter on current date
Thank you Jackie, I had indeed tried to use CurrentDate() and Extract() obtaining strange error messages. I failed to find the info that those function are not supported by OGR provider. Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] FDO Expression Filter on current date
Hi all, I was wondering if it is feasible to have a filter that stylize a layer comparing a column value against current year. The aim is not to have to modify the stylization each year. From the documentation I suspect this is not possible or at least undocumented. In details I'm using OGRProvider and Mapguide 2.5.2 Any advice? Best regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] FDO Expression Filter on current date
Hi James, What kind of values are in in your column? Are they actual timestamps like in a DateTime field, or are they strings with just years like “2005”, “2007”, etc? This will effect what kinds of functions you’ll need to use to convert the data. column type is under my full control, actually is a string with the year but I can transform it in Date. However my question is about FDO function to evaluate current year, such as CurrentDate() or something like that. And as bonus point, also which is the function to extract the year from a date. Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MgFdoException : MGOS 2.2
Hi, if you don't use explicitly the SDF provider, it is used during redline. And I remember MGOS 2.2 having sometimes problem on redline when there was some load. Very often problem are transitory so went away without intervention or after server reboot (dbxml file are proper databases so a sort of recover phase happens on server startup). In any case I suggest you to always have a backup of directory Repositories/Library for your production sites. Regards, Gabriele Monfardini On Thu, Feb 27, 2014 at 1:20 AM, cremebrulee iowa...@gmail.com wrote: If this is helpful for anyone. I was able to resolve this by restoring the Repositories directory since I guess it got corrupted on my development system. It does give me some concern as I do have some systems deployed and I am not sure what caused it to get corrupted in the first place. - -MGnoob -- View this message in context: http://osgeo-org.1560.x6.nabble.com/MgFdoException-MGOS-2-2-tp5105976p5106242.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] Unavailable SQL Server hangs-up MapGuide Server
Hi all, on a side note I can confirm that the same problem also happens with OGR Provider (we're using it to connect to PostgreSQL). If a map is accessed with a layer that uses a non reachable PostgreSQL (f.i. a development instance), server stops responding for a lot of time also to other requests that belong to maps that do not reference the problematic database. It seems that MapGuide on the whole is waiting for timeout to expire before serving other requests. For a quick solution the only way is to restart MapGuide, which is obviously problematic as expires live sessions. I have not played with customized timeout but IMHO it seems a bug. Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] ACE assert failing on linux
Hi all, I've opened ticket http://trac.osgeo.org/mapguide/ticket/2396 Has this problem ever happened in your setup? May some of the dev have a look on this ticket? Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] HELP: An exception occurred in DB XML component.
Hi, I'm running MG 2.5 on Window server 2008 with .NET installation and everything was running smoothly. I turned the Mapguide Service off to do an update to an MS Access database that is linked to it and then the service will not restart. All I get is the error below. The Access database was just a front end change so I can't see how this would affect Mapguide. Could something have gone wrong if it was trying to do something when I switched the service off? Is there any way back from this as I don't have a backup? Has Mapguide service shut down properly or killed? Mapguide resources are kept in a couple of BerkeleyDB dbxml First of all I suggest you to backup MgLibraryResourceContents.dbxml and MgLibraryResourceHeaders.dbxml (the directory is mapguide\server\Repositories\Libraries) and put original copies in a safe place. In this way if something go wrong trying to recover, you can restart from original files. Then you can try to use BerkeleyDB utilities inside directory mapguide\server\bin (from a dos prompt) Sometimes dumping the content and reloading the dbxml file solves the problem. db_dump -f content MgLibraryResourceContents.dbxml db_load -f content MgLibraryResourceContents_new.dbxml The obtained file is usually a bit smaller than original one. You can try to put this new file MgLibraryResourceContents_new.dbxml in mapguide\server\Repositories\Libraries renaming it to MgLibraryResourceContents.dbxml and see if server starts. If it starts, be sure to double check that the repository contains all the resources (layers, maps and so on) If this does not resolve you can try to use db_recover utility (you need also to copy all log.00xxx files in the directory where you put the dbxml to be recovered) and try to start with the recovered version. Again, if it starts, be sure to double check that the repository contains all the resources. You can find the documentation (even if mapguide version od berkeleydb is older) at: http://docs.oracle.com/cd/E17276_01/html/api_reference/C/db_dump.html http://docs.oracle.com/cd/E17276_01/html/api_reference/C/db_load.html http://docs.oracle.com/cd/E17275_01/html/api_reference/C/db_recover.html Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Suspend and automatically resume digitizing in Ajax Viewer if user performs map actions
Hi all, I'm using Mapguide 2.5.2 and Ajax Viewer. Currently when a user is digitizing and want to zoom or pan, digitization is ended. It would be useful to automatically re-enter digitization and let the user end its work. This can be done simply tracking previous digitization state and cursor along with current digitization state, and modifying some functions in ajaxmapppane.templ. We've providing this functionality in our deployed MapGuide, and I think it would be useful to others. I opened ticket https://trac.osgeo.org/mapguide/ticket/2395, providing an untested patch to implement this enhancement. Can you please revise it and share your thought? Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Ajax Viewer: fixed pad values in isMouseInsideHyperlink() interferes with Ctrl-click
Hi all, I've opened ticket http://trac.osgeo.org/mapguide/ticket/2390, following some users complaints. Can you please confirm this bug and discuss my proposed solutions? Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Legend Pane Size - Chrome
Hi all, a collegue of mine found a workaround for this Chrome strange behaviour, adding two lines in function LayoutControl() of ajaxmappane.templ if(isProperties) lh = legendHeight; else lh = wh - y; legendCtrl.style.height = lh + px; legendCtrlDiv.style.height = lh + px; + legendCtrlDiv.style.width = infoWidth + px; + legendCtrl.style.width = (infoWidth-1) + px; if(infoWidth = 20) legendCtrlDiv.style.visibility = visible; y += lh; Please confirm that the workaround works (we have a somewhat customized setup) and then I'll open a bug and propose that as a workaround Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Legend Pane Size - Chrome
Hi all, I've filed http://trac.osgeo.org/mapguide/ticket/2376 Jackie, if this indeed solve the problem without issues, please consider this fix as a candidate to be picked for Mpaguide 2.5.2. Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Legend Pane Size - Chrome
Hi Greg, I have changed the legend size variable in the ajaxmappane.templ file. With Firefox and IE it works as expected. In the latest version of Chrome the legend size is changed but the legend itself does not expand to fill the space. See the image: http://osgeo-org.1560.x6.nabble.com/file/n5086196/temp.jpg Has anyone else noticed this? if you start resizing the frame, the legend frame redraw and this time your settings are honored. This bug does not appear in Chrome 28, while it is present in Chrome 29 and 30 (in all OS, and also in beta version). In my opinion something goes wrong in initialization, since legend panel height is initially set to 200px even if you disable property pane. I think this deserves a bug to be opened, I'm trying to find a workaround. Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] No PostgreSQL provider in fdo 3.8.0 shipped with Mapguide 2.5.1
Hi all, I've seen that there is no PostgreSQL provider in fdo 3.8.0 shipped with Mapguide 2.5.1. Is this an error or am I missing something? Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] No PostgreSQL provider in fdo 3.8.0 shipped with Mapguide 2.5.1
Hi Zac, on windows? mine does with the 64 bit version I'm on centos and while the provider appears in providers.xml, the library libFdoPostgreSQL.so is missing in the archive fdosdk-centos5-3.8.0_6960.tar.gz. So, rewriting more precisely my question, the fact that libFdoPostgreSQL.so is not shipped with fdosdk-centos5-3.8.0_6960.tar.gz is an error? Another question. The supported version of centos for mapguide 2.5.1 is centos 6 afaik. Why then the tarball has centos5 in its name? Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] How many of you are still on 2.2 or older?
I have some MapGuide 2.2. The reasons are the followings: * I use an unusual setup: Linux (centos), PostgreSQL (using OGR Provider). My installation of MapGuide 2.2 are under centos 5, while the our Mapguide 2.4 are under centos 6. It takes some time to migrate from Mapguide 2.2 to Mapguide 2.4 * Most importantly, I have a strange annoying bug in MapGuide 2.4 that I've reported on the list without success (I've now opened https://trac.osgeo.org/mapguide/ticket/2292 with some info) Briefly I should have the time to test MapGuide 2.5 Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Strange Error in Mapguide 2.4
Thank Steve, I had already seen that thread and suggestions. My error is a little different (also it does not happen while loading big .mpg but in everyday use), but may have the same root cause. I've tried to increase those parameters to see if this nasty error go away. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Strange Error in Mapguide 2.4
Hi all, I'm having strange Errors with Mapguide 2.4 I'm on Centos 32bit 2013-04-19T17:06:13 2107579248 Ajax Viewerxx.xx.xx.xx Anonymous Error: An exception occurred in DB XML component. Error: Cannot allocate memory StackTrace: - MgResourceServiceHandler.ProcessOperation() line 80 file ResourceServiceHandler.cpp - MgOpGetResourceContent.Execute() line 120 file OpGetResourceContent.cpp - MgServerResourceService.GetResourceContent(Id=Library://xx Tags=) line 1222 file ServerResourceService.cpp - MgApplicationRepositoryManager.GetResourceContent() line 385 file ApplicationRepositoryManager.cpp - MgResourceDefinitionManager.GetResource (MgLibraryResourceContents.dbxml)() line 320 file ResourceDefinitionManager.cpp - MgResourceContentManager.GetDocument() line 590 file ResourceContentManager.cpp - MgResourceDefinitionManager.GetDocument (MgLibraryResourceContents.dbxml)() line 476 file ResourceDefinitionManager.cpp When it happens, sometimes one thread remains stuck at 100% CPU and mapguide stop serving at all (but does not crash). Every new request end up logging the very same error. The error message is somewhat misleading. The server has 4GB RAM and never use more than a couple of it. We've configured the max allowable sessions to a much higher value than the default and, in any case, the number of active session when it lastly happened is about 20. Am I reaching some memory limit on session dbxmls? Maybe something related to pages or caching? Would you suggest to tune some parameters in serverconfig.ini? Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] can't use mapguide os on ubuntu 12.04
Can you please paste the content of the two files mgserver.sh e mgserverd.sh? Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] can't use mapguide os on ubuntu 12.04
Hi, so if you run it with mgserver.sh it works but with mgserverd.sh not? Is there any error in Mapguide error log (server/Log/Error.log) or in apache_mapguide error log (webserverextensions/apache2/logs/error_log)? Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] CentOS version for MGOS 2.5
IMHO it would be better to move on 6.x series. Moreover I had a couple of MapGuide 2.4 that works on Centos 6.3 with a couple of easy tricks (even if it is an unsupported OS). Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] An exception occurred in DB XML component. Error: Document not found
Hi, the space in Web Layouts may be the issue. Try substituting it with an underscore Regards, Gabriele Monfardini --- Vivi come se dovessi morire domani, impara come se dovessi vivere per sempre Mahatma Gandhi On Fri, Nov 30, 2012 at 3:40 PM, StuartSteel stuart.st...@atkinsglobal.comwrote: Jackie, I'm seeing this on 64bit OpenSource version 2.4.0.7096. In IM Studio 2013 the definition appears to delete, but reappears upon refreshing the site, whilst in Maestro 5b4 the following message appears in the UI and in the error log: An exception occurred in DB XML component. Error: Document not found: Library://ab2/Web Layouts/ab2_TB.WebLayout The resource can be opened up, edited and saved just fine, and then after re-saving can be deleted normally. The server is running 2008 R2. Cheers, Stuart -- View this message in context: http://osgeo-org.1560.n6.nabble.com/An-exception-occurred-in-DB-XML-component-Error-Document-not-found-tp4183873p5019886.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] Fusion broken.
Hi, I don't know. I'm just using the default install of 2.4.0 and expected it all to work. Running a search, there don't appear to be any MapDefinition files anywhere in the entire /MapGuide directory. I'm surprised no samples were provided in the default install. Map and layerdefinition are on a single-file db (a dbxml). Try downloading Mapguide Maestro, and log in on the server (substitute localhost with the name or the IP address of Mapguide) with default account (Username: Administrator, password: admin). If it works you'll see a on the left a tree, called Library which contains folder Samples and inside the map definition you're looking for. In particular Library://Samples/Sheboygan/MapsTiled/SheboyganSphericalMerc.MapDefinition means that it is trying to load SheboyganSphericalMerc.MapDefinition inside Samples/Sheboygan/MapsTiled. Looking into the documentation it's not clear how to make a MapDefinition file (the search only finds two results which make reference to them: http://mapguide.osgeo.org/search/node/mapdefinition), and the samples I can find are for 2.0.x (http://mapguide.osgeo.org/download/releases/2.0.x-samples) with the installation notes not appearing to work with 2.4.x. Mapdefinitions are xml files with a precise schema. Mapguide Maestro is the tool that ease creation of all xml files you need. Mapguide Maestro allows you to create FeatureSources aka connection to data, LayerDefinitions (aka layers that use data), MapDefinitions (aka collections of layers) and WebLayouts (aka a presentations of a map). Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Fusion broken.
The main error to look at seems Resource was not found: Library://Samples/Sheboygan/MapsTiled/SheboyganSphericalMerc.MapDefinition Is there this map definition? Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] patch for Ticket #743 / png8 transparency
Hi all, it seems that PNG8 quantization patch works very well. I've closed ticket http://trac.osgeo.org/mapguide/ticket/1518 since seems to be fixed. Also selection in PNG8 works. IMHO PNG8 is better suited in all cases w.r.t. PNG. Why don't set PNG8 as default format for RequestMapImage and for RequestSelectionImage? Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] MapGuide as a WMS Client
Hi all, I was requested to use MapGuide Server as a WMS Client. How was the level of support in MapGuide 2.4? Is stylization through OGC SLD language supported? Are there performance problem (as in current WFS Server implementation)? Does anyone use MapGuide as a WMS client in production and would like to share his/her experience? Thank you and regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Refresh Layer Properties in Maestro
Using Maestro (I'm using 4.0.3), is it possible to refresh the Layer Properties (feature class) of a layer without having to remove the layer and add it again? I have an issue where a database has changed over time. I can remove and add the feature source to refresh the feature classes (getting new tables in the list), but the task to refresh the layer properties is painful. You may try to purge cached schema information. It will force Maestro to examine again the schema of the db and it will find schema changes. After that, if I undestand correctly your issue, reopening the layer should show you current properties. Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Refresh Layer Properties in Maestro
Purging the cache did not help. The two new fields in my table does not appear. If I add the layer over again they do. I am using MapGuide OpenSource 2.2 and KingOracle provider. The PropertyDefinitions are saved in the xml, but they only map the Name with the Display Name. So if you mapped a property that now has disappeared it remains in the xml (causing obscure-but-innocuous FDO errors, like FDO_81_IDENTIFIER_NOT_FOUND). At least this is what happened some version ago. But the xml does not contains all properties of a layer, that are retrieved a runtime (using caching schema information). If you close and reopen the layer after purging schema info the new properties should appear in the list of the properties. This is my test. * Open the layer definition in Normal (non-xml) mode * Look at Layer Propetries Visible in Viewer panel: it shows the properties of the layer, e.g. p1, p2, p3 * Add in the db the column test_column at the table referenced by the layer definition * Close layer definition * Reopen layer definition: test_column is not there (it is using cached schema information!) * Close layer definition * Purge cached schema information for the correct feature source (using right-button menu on the layer in the Site Explorer on the left) * Reopen layer definition: test_column has appeared in the pane. Is it the same for you? Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] during executing ZoomToView(x, y, scale, true) scale get change
Hi, I checked using alert(pScale), m getting same what i saved in database. and i'm not using any Base Maps (OSM, Google, etc) . during after executedZoomToView(pXCO, pYCO, pScale, true); scale get changed. So please suggest me the solution for it. Please reply to email using Re: in the subject. Proper email client will add your response to the original thread without opening another one. That said, we need some info if you wan't suggestions. For instance, which was the pScale? Which was the final scale you obtained? Have you a base layer in your map (which has fixed scales)? Probably you don't need to call the function Refresh after calling zoomToView since you are calling function zoomToView with value true for the parameter refresh. Maybe the extra Refresh is interfering with the previous zoomToView? Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MGOS - DWG / DXF
On Wed, Aug 29, 2012 at 5:08 AM, Jackie Ng jumpinjac...@gmail.com wrote: The DWG driver support in OGR is through Teigha/ODA, so most definitely just vanilla AutoCAD and none of the vertical stuff like OD tables and Link Templates. Good luck finding binaries with DWG driver support built-in. Also because Open DWG Alliance software has Open in the name, which is a good marketing point, but is available to download only for ODA members, which pay the quote. Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MGOS 2.2 - WMS problems with Meastro
Hi, No luck loading the ArcServer WMS into a new MG 2.4 installation, same error. The Service Loads fine in Arcmap, ArcGIS.com, and Google. I have a feeling its an issue with projection. If you can have a look at the Getcap info. Perhaps when you get a chance you could run it through your system to acquire the WMS. Here are my parameters coming from ArcServer; http://www.geomapix.com/lgswebadaptor/services/BaMosaic2/ImageServer/WMSServer?request=GetCapabilitiesservice=WMS I've made some test (I'm interested in trying to setup Mapguide to consume WMS). I have mapguide 2.4 on centos. First of all, I've tried to load the layer under a fairly good WMS client, a recent version of QGIS. All works, even if the layer is quite heavy (at higher scales, it downloads over 1MB each time). Under maestro (compiled from source some days ago), I'm able to setup the Feature Source. Testing connection does not show any error (the URL used is http://www.geomapix.com/lgswebadaptor/services/BaMosaic2/ImageServer/WMSServer?; I'm also able to create a layer over it. It automatically fill the Feature Source field of the layer with WMS_Schema:_x30-, and the Geometry Property with Raster. And here stops the good news. In fact previewing the layer or previewing a map with only this layer end up in the following error: 2012-08-24T18:54:59 -1463587984 MapGuide Maestro v5.0.0.6640 10.1.1.9Administrator Error: An exception occurred in FDO component. Error occurred in Feature Source (Library://data/prova_wms.FeatureSource): FDO Feature Class '_x30-' was not found. (Cause: , Root Cause: FDO Feature Class '_x30-' was not found.) So, better luck than you but does not work out of the box. Maybe the _x30- is related to something you can control on WMS Server side? Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MGOS 2.2 - WMS problems with Meastro
Apparently I've succeeded in some way. I had to manually configure WMS_SCHEMA part of the layer because the automatically compiled is wrong (!) Feature Source (called prova_wms): ?xml version=1.0? FeatureSource xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xsi:noNamespaceSchemaLocation=FeatureSource-1.0.0.xsd ProviderOSGeo.WMS/Provider Parameter NameFeatureServer/Name Valuehttp://www.geomapix.com/lgswebadaptor/services/BaMosaic2/ImageServer/WMSServer?/Value /Parameter ConfigurationDocumentconfig.xml/ConfigurationDocument /FeatureSource Layer Definition (called prova_wms): ?xml version=1.0? LayerDefinition xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; version=1.0.0 xsi:noNamespaceSchemaLocation=LayerDefinition-1.0.0.xsd GridLayerDefinition ResourceIdLibrary:///prova_wms.FeatureSource/ResourceId FeatureNameWMS_Schema:0/FeatureName GeometryImage/Geometry GridScaleRange ColorStyle ColorRule LegendLabel / Color ExplicitColor00/ExplicitColor /Color /ColorRule ColorRule LegendLabel / Color ExplicitColorFF/ExplicitColor /Color /ColorRule /ColorStyle RebuildFactor1/RebuildFactor /GridScaleRange /GridLayerDefinition /LayerDefinition Map Definition (called prova_wms): ?xml version=1.0? MapDefinition xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; version=2.4.0 xsi:noNamespaceSchemaLocation=MapDefinition-2.4.0.xsd Name / CoordinateSystemGEOGCS[LL84,DATUM[WGS84,SPHEROID[WGS84,6378137.000,298.25722293]],PRIMEM[Greenwich,0],UNIT[Degree,0.01745329251994]]/CoordinateSystem Extents MinX-65.7/MinX MaxX-65.5/MaxX MinY43.4/MinY MaxY43.6/MaxY /Extents BackgroundColor/BackgroundColor Metadatalt;MapDescriptiongt;prova_wmslt;/MapDescriptiongt;/Metadata MapLayer Nameprova_wms/Name ResourceIdLibrary://prova_wms.LayerDefinition/ResourceId Selectabletrue/Selectable ShowInLegendtrue/ShowInLegend LegendLabelprova_wms/LegendLabel ExpandInLegendtrue/ExpandInLegend Visibletrue/Visible Group / /MapLayer Watermarks / /MapDefinition Note that previewing the map works, previewing the layer ... crashes Mapguide (!!) Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MGOS back to Autodesk?
Heard rumours of MGOS going back to Autodesk (commercial). Which rumors? [citation needed] ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Physical Layer-Files of Mapguide OS 2.2
I did a quick search for xml-files on our mapguide-server, but couldn't find anything. Can anybody tell me where they are stored? They're not plain text files but entries in a dbxml file. They can be accessed through Maestro or with dbxml C API. Otherwise you can use dbxml utilities shipped with Mapguide (db_dump, db_load and so on). Interacting through Maestro is by far the simplest and quickest way for the casual user. Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Rather simple GDAL question 1.6 /1.7 / FDO / Mapguide HUH ???
The gdal site shows that sdat/sgrd files are support from gdal 1.7 . is it possible to get GDAL 1.7 working with FDO 3.5.0.0 or will I break all my ecw features ? It is possible. since gdal is a dll. In my tests gdal1.7 works against mapguide, even if is not officially supported. All you have to do is compile gdal 1.7 against ecw sdk (or find an already compiled version). Obviously if you can afford it, it would probably be better for you to wait for mapguide 2.4 with gdal 1.9. Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] What is the best system specification for MG2.2 with 90ish layers?
Layers: 80ish (.shp, .tiff, Access database, SQL Express 2008) I think they are far too many. You will have slow map startup (even if most of them are not shown at startup, because of some per-layer overhead), and a very huge legend, that is probably a bit overwhelming for your users. I'm not saying that MGOS will be slow whichever resources you throw at it (it most depends on your data), it may results perfectly viable (or it may not). But I don't consider having a map that display so much layers a good approach. Moreover, you may want (if it is possible) to prepare your data. Using a database with a spatial index is the best solution, since your performance quickly become I/O bounded if you have huge tiff raster and shapefiles. You may consider loading shapefiles into a spatial layer of your db (though I'm not sure if and how you can do it in SQL Express), and loading Access data in SQL Express (and maybe connect data from MS Access if you need to access it from an external application). MS Access is not exactly tuned for performance, and you lack spatial indices. If you experience low performances and low CPU/memory load you may consider to move the db to another tier to mitigate I/O load. My 2 cents. Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Error: Session has expired or is invalid. Please log in again. Server Crash from Asia IP (EVERYDAY!)
Hi, On Mon, May 14, 2012 at 4:15 PM, Chris Gountanis cgounta...@mpowerinnovations.com wrote: Could this be a sign of some kind of brute force or some kind of DoS attack? Anyone else have this issue with a public server? MapGuide 2.2 Open Source / IIS / Windows 2008. Please respond as we have a client that is about to drop MapGuide because of this and we don't have much of a solution yet. I know we can run the server in debug (console) and maybe help the developers narrow this exploit down BUT I was hoping this might of already been tackled... maybe fixed in 2.4? 2012-05-11T10:27:18 600 Ajax Viewer 150.70.75.29 Error: Session has expired or is invalid. Please log in again. StackTrace: - MgSiteServiceHandler.ProcessOperation() line 83 file c:\builds\mg22win32\mgdev\server\src\services\site\SiteServiceHandler.cpp - MgOpAuthenticate.Execute() line 107 file c:\builds\mg22win32\mgdev\server\src\services\site\OpAuthenticate.cpp - MgServerSiteService.Authenticate() line 709 file c:\builds\mg22win32\mgdev\server\src\services\site\ServerSiteService.cpp - MgSecurityManager.Authenticate() line 224 file c:\builds\mg22win32\mgdev\server\src\common\manager\SecurityManager.cpp - MgSessionCache.GetSessionInfo() line 175 file c:\builds\mg22win32\mgdev\server\src\common\manager\SessionCache.cpp Is session really expired? If this is the case, set longer session time in serverconfig.ini. Has the server been restarted (or is crashed and automatically restarted)? If this is the case you should try to understand which is the problem. Verify that error log does not show any other issue with you layers and maps. You may also try enabling Performance log to see memory pressure, cpu load and number of active connections. Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Re: MapGuide 2.4 Beta?
Are you going to publish also a Linux build for 2.4 Beta? Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Re: MapGuide 2.4 Beta?
Hi Jackie, Ah yes, the dreaded linux question :) Lol. I also was afraid to ask :) Well fortunately this time round, my gcc/make/ld error comprehension skills have improved significantly from my last major attempt and as a result, I've had some successes building mapguide on ubuntu (11.10)* Good. If I remember from some early attempts I've made in the past, some of the problems also stems from the very brittle and custom compilation path. Even in Oem software, that should compile quite out-of-the-box. Kudos to you if you dare to make compilation under Linux a little more viable. So the question then becomes: What linux distros do you want to see a mapguide build for? Also I will readily admit to not being a full expert on these matters, so may need assistance Wow, I can choose? Linux support is getting better and better :) Current Debian/Ubuntu is my first choice. But also centos is fine. The important is that a recent version is targeted. I've seen that Autodesk IMS support RedHat Enterprise 5.5, so centos 5.5 should compile and work. We're using MGOS with centos 5.5 and centos 6 with success (the latter with some ugly hacks, but it works). So choose the (reasonable) distro in which you have less trouble to compile it. I'm also not a great expert but I'll help at my best if you report your advancement and problems. Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Re: error on the map
Hi, Ok it seems that bad image requests are being made, causing the request failure handler (containing the alert() calls) to be called. I think you can just remove the alert() calls from ajaxmappane.templ some days ago I've opened a bug to propose exactly the same solution http://trac.osgeo.org/mapguide/ticket/1969 Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Re: MGOS 2.2 -TIFF Bitonal and trasparency
On Wed, Feb 8, 2012 at 09:45, Matteo matteo.conte1...@libero.it wrote: Hi Gabriele, I tranform the TIFF image to PNG and set the trasparency but nothing is change. Can you send me a PNG sample that work fine and the Layer settings in Maestro? Hi Matteo, as Jason pointed out, Background Color, Foreground Color and Transparency color options in Maestro does not work with GDAL, at all. So you can set them as you wish and the results will be the same. It is the PNG that should have alpha channel and be paletted (so ... 256 palette entries). As said, this is a workaround, not the perfect solution. Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MGOS 2.2 -TIFF Bitonal and trasparency
On Wed, Feb 8, 2012 at 01:22, Jason Birch ja...@jasonbirch.com wrote: To my knowledge, this feature is only supported by the Autodesk Raster provider; the GDAL provider returns bitonal images as 8bit. Could be wrong though. Yes, I also confirm this sad behaviour. As a workaround it is possible transform tiff images in a format that support 1bit depth and alpha channel, such as png. I've done this in the past and it works. Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Re: FDO OGR provider stops working with many layers
On Fri, Feb 3, 2012 at 14:54, Hans Milling h...@geograf.dk wrote: These are all MapInfo TAB files I suggest you to try to launch the utility ogrinfo on each file .TAB to see if OGR reports any error. ogrinfo is an utility build on top of OGR lib that try to open the file and reports some info on it. If the file has some problems (or OGR has some problems with that particular file) there is the probability to found it in this way. It would be useful to use the same version of OGR of mapguide, which is ancient 1.6.0, if I remember correctly. If you don't have the possibility to launch ogrinfo, you may also try with a desktop GIS program that uses OGR lib, such as QGIS. If it is able to open and display correctly all the file, they works with OGR. If OGR reports no errors on all files, then the problem may be on OGR Provider or Mapguide, Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Map get all crazy when scolling after unsing the ZoomToView function
After I use the ZoomToView function in my PHP code, if I try to scroll in or out, or muve the map it sends me to coordinate 0,0. Check that you are passing float number coordinates and an integer for scale to ZoomToView, For instance in JS you may use ParseFloat and ParseInt. Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Questions for Maestro users on Linux/Mac
1. What version of Mono are you currently using? 2.10.5 2. Are you capable of using Mono 2.8 or newer? I know Ubuntu for example, is very conservative with their releases of Mono and may not have the version of Mono that we require. Ubuntu current version (oneiric) has 2.10.5 in their official repository http://packages.ubuntu.com/search?keywords=mono-runtimesearchon=namessuite=allsection=all Mono currently has a lot of glitches, most of which are very annoying but do not prevent the use of Maestro. Probably switching to a more recent version of .net will expose some more serious (functional) bugs, I'll be glad to help find them. It will probably require some work on your side to circumvent them. Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MapGuide 2.2 GDAL Raster Provider - a little help finding some files
Problem is that the file is no longer available on Tamas' site. Does anyone have a copy of this file kicking around that they could send my way? Alternatively, can anyone confirm if a newer build would work - and be stable? I'm on Linux and for some reasons I have to compile gdal myself. I've compiled and used (in production sites) version 1.6.0, version 1.6.3 (last release in 1.6 branch if I remember correctly) and version 1.7.2, without particular problems on tiff and png rasters (even if some care is required preparing the files, and I strongly suggest testing the files with gdalinfo prior to deploy it). I've also tried version 1.8 from SVN some times ago and had some problems with mapguide. At the time I had not enough time to investigate the reason, also because version 1.7 appered to run well. I've compiled it passing the parameter (--with-thread), that for versions below 1.8 is not the default, in order to have multithread support. So probably a correctly compiled gdal 1.6 or 1.7 for windows is going to work. Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Re: TCP/IP protocol is mismatched
Hi, StreamIO exception is a sort of collect-all generic exception. Wrap your code in a try- catch block and in the catch log the error message. In PHP it is something like that try { //your code } catch(MgException $e) { error_log($e-getExceptionMessage(); // in older MapGuides was $e-getMessage() } Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Is GDAL working and Stable in 2.2?
Hi Trevor, hi all, one thing that would be beneficial and easy to do is using a more recent gdal. Current stable version is 1.8 and MapGuide by default uses 1.6. Not enough, it uses 1.6.0 while the last stable version in 1.6 branch is 1.6.3. Usually point releases are mostly bug fixes so using 1.6.0 is not a good idea. Another issue is that in 1.6 branch one has to manually pass --with-thread to gdal compilation (at least in Linux one) to have thread safe support, that is not enabled by default (while it is enabled by default in 1.7 and in 1.8 branches if I remember correctly). I have to recompile gdal to enable postgis support in OGR provider (I'm on Linux) and, as expected, version 1.6.3 works well with MapGuide. Moreover, also latest stable in 1.7 branch works fine, while I've had some problem with 1.8. In my tests I use OGR Provider with PostgreSQL/Postgis and gdal provider with tiff and ecw images (I've kept the single connection in gdal provider since I aim for stability, but not in OGR Provider that would be too penalizing). Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Re: Postgres view on MGOS
Is there the line corresponding to the view in the table public.geometry_columns with correct attributes? Has been the data connection refreshed (f.i. editing it in XML mode and saving it or Purging data connection cached information in newer maestros) since adding the line to the table public.geometry_columns? Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Starting MapGuide Open Source 2.2 automatically on Ubuntu 9.10
And is the only way to stop the MapGuide service is by killing it? The kill command without any signal asks kindly the mapguide server to terminate (the default signal is TERM). Thus it is not killing it, but rather stopping it and may fail if the process does not stop itself (and Mapguide server in my experience sometimes fail to stop and you have indeed to properly kill it). To forcefully kill immediately a process the syntax is kill -9 (signal KILL. It is not recommended since you may incur in data loss or dbxml corruption). Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] RE: ZoomToView function breaks session
Hi all, I had a similar problem. For some reason if I didn't enclose the coordinates in quotes, like this: parent.parent.ZoomToView(11516002.190242026, 3400692.2790488531, 2000.0, true); the problem went away. function ZoomToView seems to be picky about the type of its arguments. I suggest you to always use parseFloat(your_coord) and a check on the result before passing values to the function Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Re: Maestro 3.0 test build #2
Are you possibly running this from a shared network drive? Bingo! I was running it from the folder shared between all virtual machines and the host machine (in order to save space and have it accessible from every machine). It does not crash anymore when copied locally. Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Maestro 3.0 test build #2
On Tue, Oct 26, 2010 at 14:07, Jackie Ng jumpinjac...@gmail.com wrote: Hi All, I've put up the 2nd test build of Maestro 3.0 for download. This is the first Maestro 3.0 test build that should work on Mono. http://download.osgeo.org/mapguide/maestro/MapGuide%20Maestro%203.0.0.5334%20Test2.zip Hi, I've tried it in two virtual machines with Win 2000 and Win XP SP3, both with Mapguide Maestro 2.1.4 installed and running fine. In both of them Maestro test preview #2 crashes. Unfortunately I cannot paste the info that Windows offers kindly to send to MS, that probably are valuable for you (I cannot openthe corresponding dmp file while the reporting dialog is open, nor after closing the dialog since the file is removed ... damn it MS!) If you want I can look for something (versions and so on) and report back to you MaestroFsPreview in Win2000 throws the following error Failed to log on because: OSGoe.Mapguide.MaestroAPI.HttoServerConnection..ctor(System.Collections.Specialized.NameValueCollection) Richiesta di autorizzazione di tipo 'System.Security.Permission.ReflectionPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' non soddisfatta (in english Authorization request of type ... not satisfied) MaestroFsPreview in WinXP opens its main window but it is completely empty, without any featureSource. Using test preview #1 in both machines Maestro crashes. MaestroFsPreview throws an error in Win2000 while it works in WinXP. It shows the feature sources and I am able to preview one of them. Under mono 2.6.7 Maestro opens and seems to work fine, at least from the small amount of tests I've made. Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Re: Maestro 3.0 test build #2
MaestroFsPreview.exe, when run on its own (and not from Tools menu in Maestro) requires you to browse to the feature source you wish to preview. Ok, my fault. It indeed works in both machines Are you using the RTM version of .net Framework 2.0? It must be SP-level (1 or 2). I'm using .Net Framework 2.0 SP2 (the latest I've found). I've also verified the install with the .Net Setup verifier that I've found here http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx And maestro3 keeps crashing both in win2000 and in winXP, while maestro2.1.4 works. Do you need me to provide more information? Is it feasible to have also maestro 2.1.4 installed in another directory or I have to uninstall it? Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Re: Maestro 3.0 test build #1
Which are the requirements of Maestro 3.0 test build #1? In particular, on which version of Windows it works? Does it require a particular version of .Net? Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MGOS 2.2 RC1 + GDAL + Maestro
2010/10/13 Andrew DeMerchant andrew.demerch...@gemtec.ca It seems as though the GDAL still doesn't like x64 very much (I recall this earlier in the 2.2 Beta stage). Well, just to be fair with gdal (that has absolutely no problem on x86_64, even in the old version used by Mapguide) let's say that Mapguide + FDO gdal provider + gdal still doesn't like x86_64... Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Maestro 2.1.4 released
- Added an experimental server status monitoring window in the Tools menu That's very nice and useful. A small bug: on my Centos system it does not show info about server memory. All the four values regarding server memory always show 0 KB. Do you want me to open a bug? Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Re: Maestro 2.1.4 released
The values are being polled from the GETSITEINFO mapagent call every 5 seconds. Do you get 0s in the XML response if you invoke this call manually through the HTML mapagent interface? Yes, the values are zero also if I invoke it manually (both on a 2.2b...@centos and on a 2...@debian) So ... nothing to blame on Mapguide Maestro ;-) Thank you, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Re: Maestro 2.1.4 released
I've opened a bug for that. http://trac.osgeo.org/mapguide/ticket/1454 The problem is in MgUtil::GetLinuxMemoryStatus in file http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Common/Foundation/System/Util.cpp It parses /proc/meminfo but it seems to expect that its format is like that of free command, i.e. 2 lines with the memory amounts. On the contrary, /proc/meminfo has one line for each value, and should be parsed accordingly. Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Database Comparisons/Reviews/Recommendations
On Tue, Aug 31, 2010 at 10:33, Jason Birch ja...@jasonbirch.com wrote: This is somewhat irrelevant, but for history's sake: Both of these providers were initially written by the same person and funded jointly by Refractions Research and the City of Nanaimo. The original developer hit a wall with the Generic RDBMS framework (used for the MySQL, SQL Server Spatial and ODBC providers) as he was nearing the home stretch and started over. Unfortunately, this led to a resource crunch and this second attempt never reached the desired level of stability despite some valiant efforts by subsequent maintainers. Autodesk recently dusted off the code from first abandoned attempt, added the features that were required for it to be usable, and made it stable. I'm really glad that they chose to take this on, and am happy to see that FDO (and MapGuide) now have a decent answer for PostGIS users. Not to consider the fact that also OGR provider recompiled with support to PostgreSQL is a viable solution. OGR support to PostgreSQL is mature and stable, is used also in many other FLOSS projects. If you are using Linux, right now this is the best solution for PostgreSQL/PostGIS since PostGIS provider does not yet work correctly due to some compiling issues (that are probably solved in short). Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Label for multiple records from one-to-many join
Hi I have a layer based on a database table with a one-to-many join to another database table (1 'X' to many 'Y'). Both tables are in SQL Server 2008 and I am using MGOS 2.0. I can create an expression for a label showing properties from 'X' and one random record from 'Y'. How can I create an expression for a label to show properties from all the records from 'Y'? Why not use a view? Database are way faster to combine data, it is their job. Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Re: Add layer from sdf
SDF connect failed. File does not exist or cannot be opened in specified access mode. navya024, the message is clear (and you're lucky since FDO error message are often terribly generic). It cannot find or open the file! Try escaping the '\', like 'E:\\data\\GFProp_Req.sdf' If this doesn't help try putting it inside the mapguide directory or in a directory in your PATH. In a word, do some basic tries and see what happens... ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Re: Add layer from sdf
But i think there is no problem with 'E:\data\' path The minimum that you can do is trying what have been suggested to you and report errors... Have you tried escaping the backslashes? ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Partial transparent selection color of the Ajax viewer
With MapGuide OS 2.1 (Enterprise 2010), PNG 8 bits and the GD render, I can confirm that the alpha value of the selection color does not have any impact. Apparently, with PNG8 format, selection color do not have alpha value. Since global image format and selection overlay format can be set indipendently, a workaround is to set image format to PNG8 and selection overlay format to plain PNG (that correctly uses alpha channel). Selection overlay images are usually small and simple, thus PNG images are just a little bigger than PNG8 counterparts. Regards Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Some thought on FDO PostGIS Provider
@all Thank you for your quick replies. @Traian It never was compiled with PostGIS by default. Before, I was doing a custom build with a static link to an OGR build which has PostGIS support built in. Ok. I was only saying that there was PostGIS support out of the box in Windows binaries. Needless to say that takes a long time to do due to the huge dependency list and there have only been one or two people who have asked for it, so not enough demand to make it worth my time. Compiling GDAL with support to all takes about 30 minutes on my Linux box, against 15 minutes if I disable all except the core. However, I don't want to blame you if you drop some less used dependencies, but 1. PostgreSQL+PostGIS is by far one the most used in open source GIS, much more than MySQL. Moreover it is at the state of the art w.r.t. much more expensive other solutions. 2. PostGIS provider doesn't always work, and it is not so well mantained. Don't you think that it would be useful for the casual user to have PostGIS support working well out-of-the-box? However, since the default build now uses dynamic link to the GDAL DLL, you should be able to replace the Gdal.dll with one that has PostGIS support compiled in it and automatically get PostGIS support. I only have such builds for FDO 3.3 (MG 1.2), posted at 13-9.com. If there is enough demand, I could try to do a build with whatever FDO the new MGOS is using -- but it would really be better if someone else who is more vested in this volunteered, and I could provide some support with how to build it. I've found this link. http://n2.nabble.com/FDO-OGR-Driver-3-4-0-Connecting-to-PostGIS-8-2-with-AutoCAD-Map-3d-2010-fails-td3728628.html#a3736552 It is not perfect since you have to add 2 more dll to the list in order to solve all dependencies, and choose the correct gdal version. The fact that MapGuide is tied to one specific version of gdal and its dependencies may make difficult in the future to find all the dlls in the required versions (that moreover, AFAIK are not well documented anywhere...) It is one of the cons to include gdal source in mapguide instead of building against the current stable tree. I propose this solution, that I think is a win for all. Add one page into FDO site that hosts all dlls needed, in the versions-needed-for-current-Mapguide-stable-tree (TM) and a step by step procedure (that simply says delete these dlls, add these other ones). If you want I can help you finding all dlls, since my setup now seems to work. In this way you may keep compiling OGR faster without PostGIS support but PostGIS users are no more needed to guess which particular gdal.ddl, libpq.dll etc... are required, nor to find tricky hints into forums. @Jason but the fact is that it's languishing because it hasn't had enough community interest and development support. It is surely true, but also the contrary may be true. It hasn't had enough community interest since it has never worked well out of the box. I cannot promise my boss I can solve all the problems, thus it is difficult to support Mapguide adoption in a PostGIS environment. Let's at least make easier to use OGR that has supported PostGIS well until several years and it is maintained independently from MapGuide @Kenneth I have recorded the requests as issue #1275: Thank you very much. Let me thank you again for the time saved using Mapguide Maestro, a very good project. The update layers, when featuresource changes request, is recorded as issue #1067 If there is any way you can provide reproduce able instructions for the save problem, please let me know. I'll do my best. For what I've seen, the problem happens only when the FDO PostGIS timestamp with time zone bug is triggered. The bug cause also FdoToolbox to crash, so I'm pretty sure is a FDO bug. When the schema is read correctly, also the save works in Maestro. I need to do some more tests, in order to provide you a small test that is reproducible. Each time you start a map or something similar, MapGuide issues a DescribeSchema request. If you simply reference your entire database, this will take much longer than if you split it up in schema parts. I understand the point. Also, if you expose your entire db, be aware that you are effectively exposing the database to the users. A rouge user can easily get MapGuide to hand over all exposed data, so the less there is avalible to MapGuide, the better. I also understand this point, however PostgreSQL has access control on all objects, it is not difficult to setup it to restrict access only to the needed data. This is the why all other libraries use connection to the db and not to the schema. I have also built the OGR and Gdal provider with PostGIS support some time ago. I belive the build procedure is now so simple that it is just a matter of installing Visual Studio, checking out the code with SubVersion, and running the build.bat. I use Windows binaries in order to have them in
[mapguide-users] Some thought on FDO PostGIS Provider
I try to save the problematic dataconnection it warns me that FDO connection failed and offers to save it anyway. Sometimes, even if I save it, it does not record correctly the Datastore, leaving it empty in the XML. Last rant. Why OGR is no more built by default with PostGIS support? It would have provided me a much more smooth upgrade from 1.2. Moreover, FDO PostGIS Provider is quite recent, initially developed only for Windows, and I suspect not so much used. Having 2 possible connection to PostGIS would offer the possibilities to compare the performances (that in my situation are very important) and choose the best one. I am not so happy to drop here and there new dlls, also because in my experience MG is quite strict on library versions, and at least version 1.2 quite poor on logging useful information. So this could lead to not-logged crashes or generic errors that are very difficult to solve. That said, if you know an URL with OGR dll compiled with PostGIS support, in a version compatible with Mapguide, I would rather try them, before starting editing the 1000 layers... Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Some thought on FDO PostGIS Provider
the problematic dataconnection it warns me that FDO connection failed and offers to save it anyway. Sometimes, even if I save it, it does not record correctly the Datastore, leaving it empty in the XML. Last rant. Why OGR is no more built by default with PostGIS support? It would have provided me a much more smooth upgrade from 1.2. Moreover, FDO PostGIS Provider is quite recent, initially developed only for Windows, and I suspect not so much used. Having 2 possible connection to PostGIS would offer the possibilities to compare the performances (that in my situation are very important) and choose the best one. I am not so happy to drop here and there new dlls, also because in my experience MG is quite strict on library versions, and at least version 1.2 quite poor on logging useful information. So this could lead to not-logged crashes or generic errors that are very difficult to solve. That said, if you know an URL with OGR dll compiled with PostGIS support, in a version compatible with Mapguide, I would rather try them, before starting editing the 1000 layers... Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Problem with map only half showing.
You may try to have a look to the output of the command gdalinfo applied to your tiff files. It sometimes reports errors or warning, expecially on compressed tiff files created with some applications. This probably means that gdal have some problem reading the file even if it appears correctly in image viewers/editors. The most common issues, in my experience, are non conventional headers, missing data at the end of some blocks, application specific metatadata information. Minor things that however may confuse gdal. We've had the same issues with some tiff files and similar results: the layer sometimes is partially showing, sometimes completely missing and sometimes working correctly. Even a very small pan produces a quite different result, almost unpredictably We recreated the tiff file, checked that gdalinfo output was positive and that fixed the issue (however in mapguide 1.2) Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Problem with the dwf viewer and a reverse proxy.
Problem : The dwf viewer does not display the map, it displays all the other frames correctly, i.e tbFrame, taskFrame and from the mapFrame only the Layers and Properties panes. The ajax viewer works perfectly. I have noticed in the logs of the apache server that the dwf viewer tries to access directly the server that is behind the firewall, http://mapguideserver:8008/mapguide, not the alias that is configured in the proxy, http://mapguideexternalalias/mapguide. This happens only one time when the dwf viewer tries to get the map. Request: Does anyone have a solution or a hint or something that my help ? Thanks. We've had the same problem. Our solution was to modify two values inside mapguide-apache httpd.conf. ServerName should be your mapguideexternalalias (the URL of the apache that is configured to access mapguide via proxy) UseCanonicalName should be On In this way self-referencing URL will be constructed using ServerName Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Oracle 10g Standard
The main problem here is that there is very few info about the correct version of the libraries used. This, combined with the very poor logging messages of both FDO/Mapguide very often lead to Unspecified errors or Generic errors when the wrong version of something is used. And the advices often consist in dropping some dlls here and there in order to find some unresolved symbols, which makes all things sound like an obscure art or a per-installation magic trick. In order for this to work reliably, we need full information regarding Postgres/Postgis version used (yes, even the last minor number), together with FDO and Postgis provider versions. Postgis provider support for Linux is, at best, lacking some care. OGR support is not enabled any more by default, AFAIK. Yes I can enable it and compile all again but compilation is difficult not to say too difficult. I think OGR provider should be enabled again by default, at least we'll have a fall-back. Btw we're using a Mapguide 1.2 on Debian GNU/Linux with Postgis connected through OGR Provider. We had to work hard in order to compile all the stuffs (and this is remarkably poor in a project that has Open Source in its name), but at least it works. We've not yet find a way to compile version 2.x. No significant steps have been made to ease compilation in GNU/Linux, even if version major number has been increased... Regards, Gabriele Monfardini On Fri, Oct 30, 2009 at 07:55, Dejan Gregor dejan.gre...@gmail.com wrote: Wow, thanks Zac. I would be very happy to get information about it. I was forced to use the 'production' version of MGOS 2.0.2 on Windows Server 2003 (32-bit), but not forced by any specific version of PostgreSQL 8.x. Hardly waiting to get the right working recipe for PosGIS :-) Dejan ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Postgis OGR provide
We've made some investigations on this issue. It appears that in latest precompilated Windows binaries OGR support for Postgresql (that has to be enabled at compile time) was dropped in favor of the new Postgis provider. Probably this also happens in OGR provider compiled under GNU/Linux. Error messages don't help much to understand. Maybe you can check your OGR provider dynamic libraries with ldd to find unresolved symbols. Postgis provider seems to need a fairly recent version of Postgresql header in order to work (it works in Windows against Postgresql 8.2.10, it does not against Postgresql 8.1.15) We're trying to compile the Postgis provider under Debian etch (stable), using newer packages from lenny (testing) when needed. The problem is that compiling flags force build to go until the end even if some symbols are unresolved. And this is how we've find that the new postgis provider needs a recent postgresql version. If you find something new please report me. Gabriele On Wed, Jan 21, 2009 at 01:24, shad0wsong shad0ws...@yahoo.com wrote: I'm having the exact same problem, except im running CentOS 4 (RHEL4 compatible) The exception im getting is a Connection Failed with no more details than that. Has anyone resolved this issue? Thank you! Gabriele Monfardini wrote: Hi all, We're having problems using PostGIS and OGR provider. We've built MGOS 2.0.1 and fdo-3.3.0 in Ubuntu 7.10 without errors, but neither PostGIS provider, neither OGR provider works correctly. They always throw some exceptions when I try to connect to any PostgreSQL + PostGIS db. Under MGOS 1.2 OGR provider works fine with the same data. Does anyone use PostGIS with MGOS 2.0.1 and fdo-3.3.0? With which provider? Using the binary or compiling all from the source? Thanks, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://n2.nabble.com/Postgis---OGR-provider-tp1816487p2189744.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] shp2pgsql
http://man.cx/shp2pgsql(1) Gabriele On Mon, Nov 17, 2008 at 09:26, ajid1980 [EMAIL PROTECTED] wrote: Hai all Now I wanna try convert shp to pgsql.. SO anyone can teach me step by step .. how i wanna do it.. because i want try intergrate mapguide open source witg pgrouting.. Thanx -- View this message in context: http://www.nabble.com/shp2pgsql-tp20535434p20535434.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] what's holding people back from upgrading to 2.0?
One big issue for me is the impossibility to use PostgreSQL+Postgis as database solution for geographic data. The new Postgis provider does not work (it seems to be only for windows, and not so stable). The old OGR Provider, that works fine in 1.2 ... does not work in 2.0.1 and in 2.0.2. Our build from source code doesn't work, windows binaries don't work, livecd doesn't work either. Clearly neither MGE2008. A long standing bug is opened (#666) http://trac.osgeo.org/mapguide/ticket/666 but it is not receiving any feedback (maybe the bug number is unfortunate...) Some mails to this mailing list and some questions on #mapguide and on #fdo on IRC are still waiting for answers. It appears that not so many Mapguide users are interested in Postgresql+Postgis, even if, IMHO, is one of the best RDMS for geographic data. We've seen that Mapguide 2.x has a lot of improvement over 1.2. But, as a matter of fact, does not support Postgresql+postgis. So we're stuck with old 1.2 until this problem is solved. Regards, Gabriele On Tue, Oct 7, 2008 at 12:00, Zac Spitzer [EMAIL PROTECTED] wrote: even better is feedback to address this issue.. what have you gathered from the posts which make you hold back? This is really important information to share, discuss and address... z On Tue, Oct 7, 2008 at 8:55 PM, Jonio, Dennis (Aviation) [EMAIL PROTECTED] wrote: Having followed the posts and ... Better the Devil you know than the one you don't. r, dennis ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +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] failling to connect to postgreGIS
Não se deixe enrolar...01 Perfume Inspirado 50ml = R$23,10 de lucro25 Perfumes Inspirados 50ml = R$577,50 de lucro (seus 05 amigos e 05 amigos dos seus amigos)Mas esta é apenas uma das SETE(07) formas de ganhar dinheiro. E você ainda ganha um site incrível! Venha ver!www.inspiracao.net/116709 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups GANHAR DINHEIRO INVESTIMENTO 5 REIAS group. To post to this group, send email to GANHAR-DINHEIRO-INVESTIMENTO-5-REIAS@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/GANHAR-DINHEIRO-INVESTIMENTO-5-REIAS?h... -~--~~~~--~~--~--~---
[mapguide-users] Postgis OGR provider
Hi all, We're having problems using PostGIS and OGR provider. We've built MGOS 2.0.1 and fdo-3.3.0 in Ubuntu 7.10 without errors, but neither PostGIS provider, neither OGR provider works correctly. They always throw some exceptions when I try to connect to any PostgreSQL + PostGIS db. Under MGOS 1.2 OGR provider works fine with the same data. Does anyone use PostGIS with MGOS 2.0.1 and fdo-3.3.0? With which provider? Using the binary or compiling all from the source? Thanks, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Postgis Selection Problem
I don't know if this may apply to you since I've the old 1.2 version of MapguideOS. I solved the same problem reading http://www.gdal.org/ogr/drv_pg.html and adding a field ogc_fid with unique property. A restart of the server and then the blue polygons started to appear. Let us know if you solve the problem Gabriele On Fri, Jul 4, 2008 at 15:06, gimbrogno [EMAIL PROTECTED] wrote: Hi I have the same problem with MGOS 2.0.1 and FDO 3.3.1... Have you solved? Can you tell me how can I solve this problem? Thanks in advance... ary sucaya wrote: Hello group, I did install MGOS 2.0RC3 with postgis fdo provider. I found something wrong with select feature tool. It bring up selected information on property panel but not show me selected object (with blue color) on the map. On the other hand, i could see selected object on the map if i did selection programatically from task pane. Anyone can tell me weather this is mapguide problem or fdo problem? Thx, Ary Sucaya Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://www.nabble.com/Postgis-Selection-Problem-tp15465041p18279138.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] Load balancing and RFC3
I've seen that in RFC3 http://trac.osgeo.org/mapguide/wiki/MapGuideRfc3 was proposed (and implemented in 1.2) to use a load balancing scheme that allows to have multiple site server under one web tier. In order to cope with sessions, each user should be served by the same server that fulfills his/her first request and at each new client the server is chosen in a round-robin fashion. Does everyone have tried this? I want to try this solution since the performances with 1 server are quite poor (several seconds to zoom or pan in map with a few Postgis layers), and moreover, CPU usage goes near to 100% for 3-4 seconds at each request. I think that with one server service time would be quite long if there are several request together. I've tried with version 1.2 and it doesn't work properly. Requests from different clients are correctly dispatched to my two servers but the server that is not in the same machine of the web tier keeps telling that the session is expired or non valid. I've configured webconfig.ini as in RFC3. Am I missing something? Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Load balancing and RFC3
Are you using tiled maps? No. I'm not sure it will work: http://trac.osgeo.org/mapguide/wiki/MapGuideRfc42 This RFC removes existing functionality. However, site and support servers were difficult to configure and it is unlikely that this functionality is currently in use. It will still be possible to turn off unnecessary services by directly editing serverconfig.ini. If I understand correctly, the idea is to drop the division between support servers and site servers (the former ones doing some services for the latter ones) and to use load balancing as in RFC3, i.e. with multiple site servers, each one with its clients. In RFC42 it is written correctly that this will increase robustness since with support servers if one server fails the same does the entire site since some services are no more available (and the failures are quite common in my tests...). On the contrary with load balancing as in RFC3 the other site servers can continue to serve even if one of them encounters a problem. It seems that RFC3 have been implemented in 1.2, because in RFC3 it is written Proposed milestone: 1.2 and Implementation Status: completed. And round robin seems to work, but there is some problem with sessions. It is a pity, since multiple servers may be useful to increase robustness (that is quite poor) and performance (that is extremely poor w.r.t. MapGuide 6.5). Probably I should move to MapGuide OS 2.x... Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users