[mapguide-users] Loading a large SHP file
HI all, I’m trying to load a relatively large SHP file (140MB) using Studio 2007. Each time I try loading the file using a load procedure, I get an alert popup asking me to package the file using the “File Package Spatial Data …” menu. I tried loading the SHP directly using the “Resources Button” without success as Studio just hangs and never comes back to life. The same think happens when I try using the suggested “Package Spatial Data” functionality. If I look in the folder where the original SHP is located I can see a file with the *.mgp extension with 0kb in size. Also during the packaging procedure an *.idx file is created in the source folder and its size grows regularly up to a certain point. After a while nothing happens and Studio just keeps on hanging… What can I do to load my file into the MGOS Library ? Thanks Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.13 - Release Date: 02.12.2007 00:00 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Loading a large SHP file
You can try to use it as a unmanaged resource. I have not used the SHP much, but it should be similar to the SDF procedure. You can create a SHP featuresource, using a small file. Then edit the FeatureSource xml, and modify the path to point at your SHP file. You can point the path to your SHP file, outside MapGuide. This approach has pros and cons. Pros include ability to backup the file easily, and shared access. Cons are about the same, depending on what you think is great. You should be able to find examples for the SDF procedure, and customize it for SHP. Regards, Kenneth, GEOGRAF A/S azpublic skrev: HI all, I’m trying to load a relatively large SHP file (140MB) using Studio 2007. Each time I try loading the file using a load procedure, I get an alert popup asking me to package the file using the “File Package Spatial Data …” menu. I tried loading the SHP directly using the “Resources Button” without success as Studio just hangs and never comes back to life. The same think happens when I try using the suggested “Package Spatial Data” functionality. If I look in the folder where the original SHP is located I can see a file with the *.mgp extension with 0kb in size. Also during the packaging procedure an *.idx file is created in the source folder and its size grows regularly up to a certain point. After a while nothing happens and Studio just keeps on hanging… What can I do to load my file into the MGOS Library ? Thanks Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.13 - Release Date: 02.12.2007 00:00 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] MapGuide Open Source version 2.0 installation problem
Dear Colleagues I installed MapGuide Open Source 2.0 (.NET configuration), however after I have finished the installation (also moved the requested dll file), I have noticed that the MapGuide Server service is not active inside the services console. Although I open the service time after time, each time I go out and in from/to the services console I see the MG service is not active, any suggestions to solve this annoying problem ? Of course the diagnostics are not successful as well. Any suggestions to solve this? Thanks in advance Ori -- View this message in context: http://www.nabble.com/MapGuide-Open-Source-version-2.0-installation-problem-tp14314126s16610p14314126.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] making progress with postgis connection on ubuntu
Hi all, After having yet another attempt at compiling and installing MGOS on Ubuntu 7.10, including all the various fixes that have been suggested, and the latest svn updates I think I'm making some progress. However, my copy of Autodesk Map Studio isn't working at the moment (crashing with a dotnet error when you try and connect to a server- countless uninstalls don't seem to have helped) so I need to get it working just using mapagent and webstudio. When I run Get Feature Providers in mapagent the postgis provider now comes through with a fully formed entry (it didn't before), and when I run Test Connection I get an error about my connection string being wrong rather than errors about being unable to load the library. I'm taking this a step forward, but I'm kind of stuck as to exactly what the connection string should look like. Can someone either tell me what the connection string should look like for postgis, or send me the xml resource file for a working connection so I can edit it for my setup? Also, I am still unable to make a connection with ogr- I have used the connection string that gives me the correct result for ogrinfo, but get errors for that as well. The string I am using is: PG: host=host user=user password=password dbname=database But this just gives me the error connect failed Many thanks Jo -- View this message in context: http://www.nabble.com/making-progress-with-postgis-connection-on-ubuntu-tp14314885s16610p14314885.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
Re: [mapguide-users] how to create an mgp file?
I have created xml files as you told. But when i try to create unmanaged feature source in web studio its not working. In sample folder sheboygan data itself if i right click and say new feature source then i am able to give some name and its getting saved but there the problem is i am unable to load sdf. But here if i right click and say new unmanaged feature source its asking for the name but its not getting saved even if i refresh also. If that is getting saved then only i can assing xml file to that right? or am i wrong? is there anyother way? zspitzer wrote: now it's clearer what you are trying to do! you can use an unmanaged feature source, which means you reference a sdf file on the server which lives outside the repository.. there for you bypass webstudio... the xml looks like, where C is a directory on your server ?xml version=1.0 encoding=ISO-8859-1? 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.SDF/Provider Parameter NameFile/Name Valuec:\data\DEMO~GEOMETRY.sdf/Value /Parameter Parameter NameReadOnly/Name ValueTRUE/Value /Parameter /FeatureSource Otherwise you can use the API in .NET, PHP or Java to upload into the repository z On Dec 11, 2007 11:09 PM, Parvatha [EMAIL PROTECTED] wrote: I am unable to load my SDF data using web studio; So i am trying someother way. If I can convert my data to mgp format then there is no need to load the sdf i think. I need to load only the mgp using mapadmin. This will also solve my problem. I have sdf but i dont know how to create xml files. So that if I have xml and sdf then i can make mgp. This is what my problem. Kenneth, GEOGRAF A/S wrote: Its not clear to me, what you want to do. You can create MGP packages from an entire folder. You can modify the MGP file as a Zip file afterwards. AFAIK, there is no documentation for the MGP format. The format is quite simple, the MGP is a Zip file, which contains all the data, SDF and Xml. There is a manifest file in the MGP, which contains operations executed agains the server. These operations execute the actual data storage of either SDF or Xml data. The SDF files are usually stored as ResourceData on a FeatureSource (Xml). Regards, Kenneth, GEOGRAF A/S Parvatha skrev: In site administrator we can create mgp files but for that we need to have xml files in a folder which has got the details of the sdf data. I want to know how to create those xml files and where to keep the sdf data and what is the format? zspitzer wrote: you can create a mgp via the mapguide site administrator On Dec 6, 2007 3:35 PM, Parvatha [EMAIL PROTECTED] wrote: Hi can anybody tell me how to create an mgp file? when i download the sample (sheboygan) data for mapguide opensource 1.2 its a zip file. When i unzip that i could see all xml files. Using mapadmin if i load that mgp then in the library folder in local there is a data folder in that all sdf files are loaded. I dont understand from where it is getting loaded dynamically. If this is the way then how to create xml file for my own sdf data to make an mgp? and where to keep the sdf? bcoz in xml file only the sdf name has given and the path is not given. Can anybody please calrify my doubt? Regards Parvatha -- View this message in context: http://www.nabble.com/how-to-create-an-mgp-file--tf4953979s16610.html#a14186172 Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- Zac Spitzer - 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 -- View this message in context: http://www.nabble.com/how-to-create-an-mgp-file--tp14186172s16610p14272461.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 -- 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 -- View this message in context:
[mapguide-users] Adding a Coordinate System to MGE/MGOS
Hi all, Does anybody know where MGE/MGOS keeps CRS definitions and is it possible to add a new one (as WKT, for example)? If it's possible to add it, what about MapGuide Studio 2008 then, does it recognize a newly added CRS by default? Regards, Maksim Sestic -- View this message in context: http://www.nabble.com/Adding-a-Coordinate-System-to-MGE-MGOS-tp14316325s16610p14316325.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
Re: [mapguide-users] Looking for geospatial data
I have downloaded the VMAP0 dataset. I was wondering whether it is possible to somehow import these data to MapGuide OS Viewer or some other client. Essentially I am looking for geospatial data about a specific region in Italy - preferrably to be available in the public domain but if not it is ok. Any ideas please? On Dec 12, 2007 12:52 PM, Kenneth, GEOGRAF A/S [EMAIL PROTECTED] wrote: MapGuide uses the Feature Data Objects (FDO) as the data source foundation. This means that any data source supported by FDO is avalible within MapGuide. The supported formats for FDO can be found here: http://fdo.osgeo.org/OSProviderOverviews.html Other than the official ones, there is an Oracle provider: http://www.sl-king.com/fdooracle/ And a MS-SQL provider: http://www.sl-king.com/FdoMsSql/FdoMsSql.html Regards, Kenneth, GEOGRAF A/S Konstantinos Vassiliadis skrev: Hi all! I am new to GIS in general and MapGuide OS in particular. I have installed the latest stable version of MapGuide and been reading the manuals and developer guides for it and FDO. I have the task to implement a GIS application and thinking seriously to use MapGuide. My question is in which format geospatial data can be imported to MapGuide and used. Thanks! -- ___ mapguide-users mailing [EMAIL PROTECTED]://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Looking for geospatial data
I am sorry, I wanted to say: whether it is possible to load these data to MapGuide OS Server! On Dec 13, 2007 3:38 PM, Konstantinos Vassiliadis [EMAIL PROTECTED] wrote: I have downloaded the VMAP0 dataset. I was wondering whether it is possible to somehow import these data to MapGuide OS Viewer or some other client. Essentially I am looking for geospatial data about a specific region in Italy - preferrably to be available in the public domain but if not it is ok. Any ideas please? On Dec 12, 2007 12:52 PM, Kenneth, GEOGRAF A/S [EMAIL PROTECTED] wrote: MapGuide uses the Feature Data Objects (FDO) as the data source foundation. This means that any data source supported by FDO is avalible within MapGuide. The supported formats for FDO can be found here: http://fdo.osgeo.org/OSProviderOverviews.html Other than the official ones, there is an Oracle provider: http://www.sl-king.com/fdooracle/ And a MS-SQL provider: http://www.sl-king.com/FdoMsSql/FdoMsSql.html Regards, Kenneth, GEOGRAF A/S Konstantinos Vassiliadis skrev: Hi all! I am new to GIS in general and MapGuide OS in particular. I have installed the latest stable version of MapGuide and been reading the manuals and developer guides for it and FDO. I have the task to implement a GIS application and thinking seriously to use MapGuide. My question is in which format geospatial data can be imported to MapGuide and used. Thanks! -- ___ mapguide-users mailing [EMAIL PROTECTED]://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Looking for geospatial data
Konstantinos Vassiliadis wrote: I have downloaded the VMAP0 dataset. I was wondering whether it is possible to somehow import these data to MapGuide OS Viewer or some other client. Essentially I am looking for geospatial data about a specific region in Italy - preferrably to be available in the public domain but if not it is ok. Any ideas please? Konstantinos, VMAP0 data in VPF format is pretty messy to work with. In theory you can build OGR with the OGDI add on driver, and use that to access VPF data like VMAP0. But that would be pretty challenging to get right. Alternatively you could use an existing OGR+OGDI build and ogr2ogr to translate the data you want into shapefiles or something similar that is more accessable. FWTools includes everything you need (http://fwtools.maptools.org) but addressing VMAP0 data is still a bit hard. For a VMAP0 Eurasian CD dataset sitting on disk as /mnt/cdrom/v0eur I would use the following datasource name for OGR: gltp:/vrf/mnt/cdrom/v0eur/vmaplv0/eurnasia If you do an ogrinfo on that you will get layer names like: 1: [EMAIL PROTECTED](*)_line (Line String) 2: [EMAIL PROTECTED](*)_text (Point) 3: [EMAIL PROTECTED](*)_area (Polygon) 4: [EMAIL PROTECTED](*)_text (Point) 5: [EMAIL PROTECTED](*)_point (Point) 6: [EMAIL PROTECTED](*)_line (Line String) 7: [EMAIL PROTECTED](*)_line (Line String) 8: [EMAIL PROTECTED](*)_line (Line String) 9: [EMAIL PROTECTED](*)_area (Polygon) ... You can copy one layer to a shapefile something like: ogr2ogr coastl.shp gltp:/vrf/mnt/cdrom/v0eur/vmaplv0/eurnasia \ [EMAIL PROTECTED](*)_line -nln coastl But most interesting data from VMAP0 is available from other sources as shapefiles so my real advice is to dig up one of those sources and use it. Best regards, -- ---+-- I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush| President OSGeo, http://osgeo.org ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Looking for geospatial data
Frank thanks for your reply. In the meantime, I found a source that is in ESRI Shapefile and is based on VMAP Level 0 Global Base Map Data. I will look more into it since now I am getting more familiar with this matter. Thanks anyway! On Dec 13, 2007 5:48 PM, Frank Warmerdam [EMAIL PROTECTED] wrote: Konstantinos Vassiliadis wrote: I have downloaded the VMAP0 dataset. I was wondering whether it is possible to somehow import these data to MapGuide OS Viewer or some other client. Essentially I am looking for geospatial data about a specific region in Italy - preferrably to be available in the public domain but if not it is ok. Any ideas please? Konstantinos, VMAP0 data in VPF format is pretty messy to work with. In theory you can build OGR with the OGDI add on driver, and use that to access VPF data like VMAP0. But that would be pretty challenging to get right. Alternatively you could use an existing OGR+OGDI build and ogr2ogr to translate the data you want into shapefiles or something similar that is more accessable. FWTools includes everything you need (http://fwtools.maptools.org) but addressing VMAP0 data is still a bit hard. For a VMAP0 Eurasian CD dataset sitting on disk as /mnt/cdrom/v0eur I would use the following datasource name for OGR: gltp:/vrf/mnt/cdrom/v0eur/vmaplv0/eurnasia If you do an ogrinfo on that you will get layer names like: 1: [EMAIL PROTECTED](*)_line (Line String) 2: [EMAIL PROTECTED](*)_text (Point) 3: [EMAIL PROTECTED](*)_area (Polygon) 4: [EMAIL PROTECTED](*)_text (Point) 5: [EMAIL PROTECTED](*)_point (Point) 6: [EMAIL PROTECTED](*)_line (Line String) 7: [EMAIL PROTECTED](*)_line (Line String) 8: [EMAIL PROTECTED](*)_line (Line String) 9: [EMAIL PROTECTED](*)_area (Polygon) ... You can copy one layer to a shapefile something like: ogr2ogr coastl.shp gltp:/vrf/mnt/cdrom/v0eur/vmaplv0/eurnasia \ [EMAIL PROTECTED](*)_line -nln coastl But most interesting data from VMAP0 is available from other sources as shapefiles so my real advice is to dig up one of those sources and use it. Best regards, -- ---+-- I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED] light and sound - activate the windows | http://pobox.com/~warmerdamhttp://pobox.com/%7Ewarmerdam and watch the world go round - Rush| President OSGeo, http://osgeo.org ___ 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] PostGis Layer
Hii group, I wa successfull to configure postgis with MapGuide. But i have a serious problem: there is no geometry appears on this postgis layer. I look at the log file and i found a message: Error: Failed to stylize layer: PostGisLayer An unclassified exception occurred. StackTrace: - MgStylizationUtil.StylizeLayers line 923 file c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src\services\mapping\StylizationUtil.cpp Failed to stylize layer: PostGisLayer An unclassified exception occurred. I use MGOS 1.2, PostGreSql 8.2.5 and PostGis 1.3.1-1. What happen with this layer? Ary Sucaya Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] GIF rendering
Hi I have change from png to jpg the tiles images format and from png to gif the non tiles layers (in ajaxmappane.templ). The jpg are very fast but, I don't know why, the final gif is slow (but faster than png, specially with IE7). Any idea? Martin F ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Adding a Coordinate System to MGE/MGOS
MGE keeps the coordinate system definitions inside the installed Mentor dictionary files which is not stored as OGC WKT. Map is typically the tool used to add new coordinate systems to Mentor dictionary files. MGOS uses PROJ4 and I'm not familiar with adding new coordinate systems to it. However, it is open source so you have full access to it for modifying. MapGuide Studio cannot add new coordinate systems to either MGOS or MGE. Bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maksim Sestic Sent: Thursday, December 13, 2007 6:47 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Adding a Coordinate System to MGE/MGOS Hi all, Does anybody know where MGE/MGOS keeps CRS definitions and is it possible to add a new one (as WKT, for example)? If it's possible to add it, what about MapGuide Studio 2008 then, does it recognize a newly added CRS by default? Regards, Maksim Sestic -- View this message in context: http://www.nabble.com/Adding-a-Coordinate-System-to-MGE-MGOS-tp14316325s16610p14316325.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] Trouble with postgis provider
I have tried using the POSGISFDO connector on windows .And it works fine to the extend that I can connect to the database and see the tables and columns. I have generated a map but nothing s then displayed on the screen. Any ideas? Anther question on this, will this Postgis connector be included into later versions of MGOS? Andre -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Birch Sent: Tuesday, December 04, 2007 7:27 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Trouble with postgis provider My understanding is that the PostGIS provider looks at the geometry_columns metadata table to determine which tables are spatially enabled. This provider is still in alpha/beta mode, and you are more likely to get a knowledgeable reply on the fdo-users mailing list. Jason -Original Message- From: dorra2007 Subject: Re: [mapguide-users] Trouble with postgis provider The problem that it skips also the new created spatial tables!!! How could the postgis provider make the diffrence between the spatial and non spatial tables!!! ___ 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