[mapguide-users] Importing map on MapGuide
Carmelo Saffioti
csaffi at libero.it
Wed Nov 12 05:57:30 EST 2008
Yes, it seems a coordinate system problem. In fact, if on the source DWG file I set the LL84 coordinate system, the map is displayed.
The purpose of this work is to trace:
1) the current vehicle position with a point on the map
2) for a specified vehicle and time, trace the route followed by the vehicle
For this purpose, what's in your opinion the best way for storing the map and vehicles position? Now I'm storing the map on a SDF (or SHP) file, and vehicles GPS positions into a MySql db.
Please help me to get started
Cheers
Carmelo
----- Original Message -----
From: Kenneth Skovhede, GEOGRAF A/S
To: MapGuide Users Mail List
Sent: Wednesday, November 12, 2008 10:36 AM
Subject: Re: [mapguide-users] Importing map on MapGuide
If you have GPS data, your points are most likely degrees,
which means you should choose something like a WGS84 or Lat/Lon coordinate system.
Regards, Kenneth Skovhede, GEOGRAF A/S
Carmelo Saffioti skrev:
< You need to open your data in another program, and verify that the extents are correct.
What program could I use?
< If your layer has "minscale = 0" and "maxscale = 100", you can't see it in the map even if it is initially marked as visible.
Minumum=infinite, Maximum=infinite
If I change to Minimum=1 Maximum=100 the Layer preview is blank
If I change to Minimum=1 Maximum=10000 the Layer preview is blank
If I change to Minimum=1 Maximum=100000 the Layer preview is ok, it displays my map, but the Map preview is still blank
< In the question "Is the layer visible in the map", I meant: Is the "layer is visibile" checked?
It was checked, but unchecking it the Map was still blank
< Could you check the server log for any errors: C:\Program Files\MapGuideOpenSource2.0\Server\Logs\error.log
There are only errors in the past, not at present time
< Could you try to assign a projection on the map? If you have no idea what the projection is, try "XY-M".
I tried. Assigning "Arbitrary X-Y Coordinates (Meter) (XY-M)" the Map is displayed. So, is it a Coordinate system problem? I need to work with GPS coordinates, because I need to trace vehicles movements... how can I do?
----- Original Message -----
From: Kenneth Skovhede, GEOGRAF A/S
To: MapGuide Users Mail List
Sent: Wednesday, November 12, 2008 9:45 AM
Subject: Re: [mapguide-users] Importing map on MapGuide
OK, since your data shows, your layer and featuresource are likely correct.
The "Set view to current layers extent" does not work for all data:
http://trac.osgeo.org/mapguide/ticket/609
You need to open your data in another program, and verify that the extents are correct.
If your layer has "minscale = 0" and "maxscale = 100", you can't see it in the map even if it is initially marked as visible.
Could you check the server log for any errors:
C:\Program Files\MapGuideOpenSource2.0\Server\Logs\error.log
Could you try to assign a projection on the map? If you have no idea what the projection is, try "XY-M".
In the question "Is the layer visible in the map", I meant: Is the "layer is visibile" checked?
Regards, Kenneth Skovhede, GEOGRAF A/S
Carmelo Saffioti skrev:
< What happens if you preview the FeatureSource ?
The Layer preview shows me my map successfully
< On the map you must enter the extent of the data, is the entered data correct?
I don't know. To set it up I clicked on button "Set view to current layers extent". How can I do?
< Is the layer visible at the current scale?
How can I know that? The Layer previews, as I said, shows me my map successfully
< Is the layer visible in the map?
The Map preview shows me a blank map. On the left I have got a panel named Layers on which I can see the name of my layer, with a checkbox near it.
----- Original Message -----
From: Kenneth Skovhede, GEOGRAF A/S
To: MapGuide Users Mail List
Sent: Tuesday, November 11, 2008 12:24 PM
Subject: Re: [mapguide-users] Importing map on MapGuide
Yes, that sounds correct.
What happens if you preview the FeatureSource ?
On the map you must enter the extent of the data, is the entered data correct?
Is the layer visible at the current scale?
Is the layer visible in the map?
Does the server log reveal any information?
Regards, Kenneth Skovhede, GEOGRAF A/S
Carmelo Saffioti skrev:
Some people told me to use the SDF format... I tried, using MapGuide Maestro, to import the exported SDF file. The connection test gives me: "Provider reported no errors". After that, I used the imported file to create a new Layer. Then, I created a Map, setting up Resource on Layer properties equal to the created layer. Finally, I created a Layout, setting up Map resource equal to the created map.
Is it correct?
The browser displays a blank map... I hope you can help me
Cheers
Carmelo
----- Original Message -----
From: Kenneth Skovhede, GEOGRAF A/S
To: MapGuide Users Mail List
Sent: Tuesday, November 11, 2008 10:25 AM
Subject: Re: [mapguide-users] Importing map on MapGuide
If you use SHP, it should be straightforward.
The Maestro user guide is incomplete, but should get you started:
http://trac.osgeo.org/mapguide/wiki/maestro/UserGuide
I would recommend installing the Sheboygan sample to see how that works.
http://mapguide.osgeo.org/download/releases/2.0.x-samples
Regards, Kenneth Skovhede, GEOGRAF A/S
Carmelo Saffioti skrev:
Hi everybody,
I've got a DWG planimetry file from which I'd like create a digital map, managed by the MapGuide map server.
I've converted the DWG file into different formats (dwf, dxf, sdf, shp), for importing it in the simplier way.
How can I do to import and display it on MapGuide? Which steps should I follow?
I tried with MapGuide Maestro, but the application I created seems to do not work properly, because the browser stays on loading...
I hope you can help me
Cheers
Carmelo
----------------------------------------------------------------
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
------------------------------------------------------------------
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
--------------------------------------------------------------------
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
----------------------------------------------------------------------
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
------------------------------------------------------------------------
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
--------------------------------------------------------------------------
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
----------------------------------------------------------------------------
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
------------------------------------------------------------------------------
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20081112/598974ff/attachment.html
More information about the mapguide-users
mailing list