[GRASS-user] How to convert BMP & JPEG files to Shape(.shp) format

Dear all,
I need to convert some maps like Bmp & Jpeg format files into Shape(.Shp)
format on windows.

can you please suggest me any open source tool to convert into shape files.

Thanking you in advance,

Regards
Jeevan
--
View this message in context: http://www.nabble.com/How-to-convert-BMP---JPEG-files-to-Shape(.shp)-format-tp19175257p19175257.html
Sent from the Grass - Users mailing list archive at Nabble.com.

2008/8/27 Alpha GRASS <alpha.grass@gmail.com>:

Dear all,
I need to convert some maps like Bmp & Jpeg format files into Shape(.Shp)
format on windows.

errr....

Look, in GIS parlance, bmp and jpg are raster formats. Shapefile is a
vector format.
So, no direct "conversion" between those.

What you would do in a strict GIS environment, is to register
(georeference) those images and then digitize whatever is important to
a vector file.

can you please suggest me any open source tool to convert into shape files.

Most GISes, specially the free ones (GRASS/QGIS) allow you to load
those images and vectorize.
However, I remember seeing something about some program that allow you
to automagically vectorize a raster.

Doing a google search I found the program: http://potrace.sourceforge.net/
you can use it in Inkscape: http://wiki.inkscape.org/wiki/index.php/Potrace

the wikipedia also know something about it: http://en.wikipedia.org/wiki/Potrace

there are others:
http://delineate.sourceforge.net/download.html

While not answering exactly your question, that was the best i could
find in google.

Remember: google is your friend.
--
Paulo Marcondes = PU1/PU2PIX
-22.915 -42.224 = GG86jc

Potrace + Inkscape sounds interesting. Just out of curiosity, does
anyone knows if it could be used to vectorize scanned topo sheets?

Daniel

On Wed, Aug 27, 2008 at 9:04 AM, Paulo Marcondes
<paulomarcondes@gmail.com> wrote:

2008/8/27 Alpha GRASS <alpha.grass@gmail.com>:

Dear all,
I need to convert some maps like Bmp & Jpeg format files into Shape(.Shp)
format on windows.

errr....

Look, in GIS parlance, bmp and jpg are raster formats. Shapefile is a
vector format.
So, no direct "conversion" between those.

What you would do in a strict GIS environment, is to register
(georeference) those images and then digitize whatever is important to
a vector file.

can you please suggest me any open source tool to convert into shape files.

Most GISes, specially the free ones (GRASS/QGIS) allow you to load
those images and vectorize.
However, I remember seeing something about some program that allow you
to automagically vectorize a raster.

Doing a google search I found the program: http://potrace.sourceforge.net/
you can use it in Inkscape: http://wiki.inkscape.org/wiki/index.php/Potrace

the wikipedia also know something about it: http://en.wikipedia.org/wiki/Potrace

there are others:
http://delineate.sourceforge.net/download.html

While not answering exactly your question, that was the best i could
find in google.

Remember: google is your friend.
--
Paulo Marcondes = PU1/PU2PIX
-22.915 -42.224 = GG86jc
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

2008/8/27 Daniel Victoria <daniel.victoria@gmail.com>:

Potrace + Inkscape sounds interesting. Just out of curiosity, does
anyone knows if it could be used to vectorize scanned topo sheets?

if you have the sheets by "theme", that could work.
By theme, I mean separate rasters for contour, hydro, roads, etc...

That would be an interesting thing to test. How that would be imported
into grass is one thing I am not sure.
--
Paulo Marcondes = PU1/PU2PIX
-22.915 -42.224 = GG86jc

There used to be the way by using Autotrace. You vectorized the raster to the dxf format and imported it into grass by v.in.dxf. The rasters I was working with used the same projection as my location. I just had to make a v.transform on them and voila.

Af far as it can be deduced from the homepage, Autotrace is not developed any more. The page, however, is still there and you can grab the sources. There seems to be a gui as well.

http://autotrace.sourceforge.net/

--- On Wed, 27/8/08, Paulo Marcondes <paulomarcondes@gmail.com> wrote:

From: Paulo Marcondes <paulomarcondes@gmail.com>
Subject: Re: [GRASS-user] How to convert BMP & JPEG files to Shape(.shp) format
To: "Daniel Victoria" <daniel.victoria@gmail.com>
Cc: "grassuser" <grass-user@lists.osgeo.org>
Date: Wednesday, 27 August, 2008, 10:10 PM
2008/8/27 Daniel Victoria <daniel.victoria@gmail.com>:
> Potrace + Inkscape sounds interesting. Just out of
curiosity, does
> anyone knows if it could be used to vectorize scanned
topo sheets?

if you have the sheets by "theme", that could
work.
By theme, I mean separate rasters for contour, hydro,
roads, etc...

That would be an interesting thing to test. How that would
be imported
into grass is one thing I am not sure.
--
Paulo Marcondes = PU1/PU2PIX
-22.915 -42.224 = GG86jc
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Send instant messages to your online friends http://uk.messenger.yahoo.com

Aplha:

>> I need to convert some maps like Bmp & Jpeg format files into
>> Shape(.Shp) format on windows.
>
> errr....
>
> Look, in GIS parlance, bmp and jpg are raster formats. Shapefile is a
> vector format. So, no direct "conversion" between those.
>
> What you would do in a strict GIS environment, is to register
> (georeference) those images and then digitize whatever is important
> to a vector file.
>
>> can you please suggest me any open source tool to
>> convert into shape files.
>
> Most GISes, specially the free ones (GRASS/QGIS) allow you to load
> those images and vectorize.
> However, I remember seeing something about some program that allow
> you to automagically vectorize a raster.

[autotrace et al.]

the "grass" way for this is documented here:
  http://grass.osgeo.org/wiki/Trace_vector_contours_from_a_scanned_map

(isolate lines, then r.thin + r.to.vect)

Hamish