[mapserver-users] Tracking vehicles, Displaying positions

Pietro Giannini pgiannini at bytewise.it
Wed Nov 5 11:51:06 EST 2008


Hi Carmelo,
it's no mode to know the projection of a dwg from itself: you have to ask
those who produced.
Once you have defined the projection and converted the dwg into .shp, you
must to create a mapfile with a layer which data is the shapefile. Another
layer will be the point layer of the vehicles.

If you are newbie of mapserver, take a look to the New Users section of
the site (http://mapserver.gis.umn.edu/new_users), it's very useful.

ciao
.................pg


-- 
Pietro Giannini
Bytewise srl - Area GIS
41°50'38.58"N 12°29'13.39"E




On Mer, Novembre 5, 2008 17:04, Carmelo Saffioti wrote:
> Thank you Pietro.
> Before converting from DWG to DXF, I have to say that my DWG planimetry is
> not georeferenced. How can I georeference it?
> After georeferencing it, how can I "import" the file on the map server? It
> will be the map, isn't it?
>
>
> Thank you again
> Cheers
> Carmelo
>
>
>
>> dxf2shp (http://www.spatialorder.com/downloads.htm).
>> You have first to convert the dwg in dxf:
>> http://www.autodwg.com/DWG_DXF_Converter/ is a 15-days trial,
>> http://www.a9tech.com/products/a9converter/ is free...
>>
>> there is also cad2shape: http://www.guthcad.com/cad2shape.htm, another
>> trial version.
>>
>> there is a lot of tools:
>> http://www.google.com/search?q=convert+dwg+to+dxf
>>
>> ciao
>> .......................pg
>>
>>
>> --
>> Pietro Giannini
>> Bytewise srl - Area GIS
>> 41°50'38.58"N 12°29'13.39"E
>>
>>
>>
>> On Mer, Novembre 5, 2008 11:39, Carmelo Saffioti wrote:
>> > Thank you Venkat for your reply,
>> > it's interesting to know that it's possible to access coordinates data
>> > directly from the MySql db...
>> > but before displaying points on the map, I need to understand how can
>> I
>> > "create" a map from my planimetry DWG cad file...
>> >
>> > I hope you can help me
>> > Cheers
>> > Carmelo
>> >
>> >
>> > Hi,
>> >
>> >    1)There are different ways to place GPS points on map.
>> >      a)  You can display points using OGR direct connection, Please
> refer
>> > below url
>> >
> http://mapserver.gis.umn.edu/docs/howto/ogrmysql/?searchterm=ovf
>> >
>> >
> http://mapserver.gis.umn.edu/docs/howto/debian-odbc-mysql/?searchterm=ovf
>> >
>> >
> http://mapserver.gis.umn.edu/docs/reference/vector_data/VirtualSpatialData/?searchterm=ovf
>> >
>> > 2)And You can not create DWG file by using mapfile.Mapfile will give
>> you
>> > image format.
>> > Please have a look below url.
>> >
>> >   http://mapserver.gis.umn.edu/docs/reference/vector_data/format_types
>> >
>> > I hope this helps you.
>> >
>> > Thanks,
>> > Venkat
>> >
>> >
>> >
>> > From: mapserver-users-bounces at lists.osgeo.org
>> > [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Carmelo
>> > Saffioti
>> > Sent: Wednesday, November 05, 2008 2:30 PM
>> > To: mapserver-users at lists.osgeo.org
>> > Subject: [mapserver-users] Tracking vehicles, Displaying positions
>> >
>> > Hi everybody,
>> > I need to develop a system for tracking and displaying vehicles
>> > positions. I'm storing NMEA gps sentences into a MySql DB. Now I'd
>> > like to display these positions on a map. How can I do? I'm new to
>> > this, can you give me any suggestion?
>> > I have to create the map too, because this zone is not mapped. Is it
>> > possible to create a map from a DWG cad file?
>> >
>> > I hope you can help me
>> > Cheers
>> > Carmelo
>> >
>> > _______________________________________________
>> > mapserver-users mailing list
>> > mapserver-users at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
>> >
>>
>>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



More information about the mapserver-users mailing list