RE: [mapguide-users] Lack of Coordinate Systems
Ryan, Is your PROJ_LIB environment setting pointing to the nad directory? Is your GDAL_DATA environment setting pointing to the data directory? If you are running the MapGuide server from a script ensure that it is not altering the above environment settings. The categories.txt file needs to be in the nad directory pointed to by the PROJ_LIB environment setting. Thanks, Bruce From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Ryan Foster Sent: Monday, March 23, 2009 10:40 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Lack of Coordinate Systems Hello, I have installed Mapguide 2.0.2 with FDO 3.3.1 (SDF, SHP, WFS, WMS, GDAL, OGR, PostGIS) on an Ubuntu server (8.04); however, I am having a problem with the coordinate systems. Specifically, 'enumerating categories' only shows arbitrary x-y coordinate systems. I've looked through the mailing list archives and it would seem that the problem is that the application is not picking up 'categories.txt'. I have placed this file in both the 'data' and 'nad' directories and restarted both Apache and the Mapguide daemon without success...any pointers on how to solve this problem would be greatly appreciated. == Ryan Foster Associate Planner / IT Technician City of Arroyo Grande (805) 473-5420 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Lack of coordinate systems
Hi Kenneth, It certainly seems to be the same problem, but I have tried the solution (copying categories.txt into the both the nad directory and the data directory and setting the PROJ_LIB environment variable to the nad directory) but it doesn't seem to fix the problem. I have checked permissions and this file has exactly the same permissions as everything else in the directory. When I enumerate the coordinate system categories I still only see the arbitrary X-Y option. Can someone who fixed this issue confirm whether they copied or moved the categories.txt file from the server directory, what the permissions are on it once it's moved, and whether they have the GDAL_DATA and PROJ_LIB environment variables set when they start the server. I am starting mgserver as root- is this likely to be part of the problem? Thanks Jo Kenneth Skovhede, GEOGRAF A/S wrote: Not sure it is the same problem, but the symptoms sound similar: http://trac.osgeo.org/mapguide/ticket/582 Regards, Kenneth Skovhede, GEOGRAF A/S Jackie Ng skrev: Does that file have the correct r/w permissions? - Jackie Joanne Cook wrote: Hi All, I've just finished compiling the latest version of mapguide on Ubuntu 8.04, and I (eventually) got through without any (obvious) failures or errors. BUT, when I try and use coordinate systems in either Mapguide Maestro or the webtier tests, I only have access to arbitrary XY coordinate systems. With the webtier tests, if I try and ennumerate the coordinate systems, the category LatLongs is visible but I get the following error: The coordinate system initialization failed. Could not read the category from the category dictionary. If I try and convert EPSG to WKT I get the following error: The coordinate system conversion failed. Could not convert to WKT from EPSG code: 27700. Internal error: Unable to open EPSG support file gcs.csv. Try setting the GDAL_DATA environment variable to point to the directory containing EPSG csv files. I have found the gcs.csv file (in /usr/local/mapguideopensource/server/bin/data) and have set GDAL_DATA to that folder, but it doesn't seem to make any difference and I get the same error message. Any thoughts? Many thanks Jo - Joanne Cook Senior IT Support and Development Oxford Archaeology (North) 01524 880212 http://thehumanjourney.net -- Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information. ___ 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/Lack-of-coordinate-systems-tp19109875p19158773.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] Lack of coordinate systems
Not sure it is the same problem, but the symptoms sound similar: http://trac.osgeo.org/mapguide/ticket/582 Regards, Kenneth Skovhede, GEOGRAF A/S Jackie Ng skrev: Does that file have the correct r/w permissions? - Jackie Joanne Cook wrote: Hi All, I've just finished compiling the latest version of mapguide on Ubuntu 8.04, and I (eventually) got through without any (obvious) failures or errors. BUT, when I try and use coordinate systems in either Mapguide Maestro or the webtier tests, I only have access to arbitrary XY coordinate systems. With the webtier tests, if I try and ennumerate the coordinate systems, the category LatLongs is visible but I get the following error: The coordinate system initialization failed. Could not read the category from the category dictionary. If I try and convert EPSG to WKT I get the following error: The coordinate system conversion failed. Could not convert to WKT from EPSG code: 27700. Internal error: Unable to open EPSG support file gcs.csv. Try setting the GDAL_DATA environment variable to point to the directory containing EPSG csv files. I have found the gcs.csv file (in /usr/local/mapguideopensource/server/bin/data) and have set GDAL_DATA to that folder, but it doesn't seem to make any difference and I get the same error message. Any thoughts? Many thanks Jo - Joanne Cook Senior IT Support and Development Oxford Archaeology (North) 01524 880212 http://thehumanjourney.net -- Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information. ___ 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] Lack of coordinate systems
Does that file have the correct r/w permissions? - Jackie Joanne Cook wrote: Hi All, I've just finished compiling the latest version of mapguide on Ubuntu 8.04, and I (eventually) got through without any (obvious) failures or errors. BUT, when I try and use coordinate systems in either Mapguide Maestro or the webtier tests, I only have access to arbitrary XY coordinate systems. With the webtier tests, if I try and ennumerate the coordinate systems, the category LatLongs is visible but I get the following error: The coordinate system initialization failed. Could not read the category from the category dictionary. If I try and convert EPSG to WKT I get the following error: The coordinate system conversion failed. Could not convert to WKT from EPSG code: 27700. Internal error: Unable to open EPSG support file gcs.csv. Try setting the GDAL_DATA environment variable to point to the directory containing EPSG csv files. I have found the gcs.csv file (in /usr/local/mapguideopensource/server/bin/data) and have set GDAL_DATA to that folder, but it doesn't seem to make any difference and I get the same error message. Any thoughts? Many thanks Jo - Joanne Cook Senior IT Support and Development Oxford Archaeology (North) 01524 880212 http://thehumanjourney.net -- Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information. ___ 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/Lack-of-coordinate-systems-tp759846p760058.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