Re: [OSM-talk] Easy way to export to Illustrator?

2008-04-06 Thread Jannis Achstetter
Axel von Matern schrieb:
> Hi!
> 
> Is there a easy way to get my OSM data into Illustrator?
> [...]
> Im making a map over Phang Nga province in Thailand and thought it  
> would be great to use OSM as a tool to get the data right. In the past  
> I traced  satellite images in Adobe Illustrator and traced 
> (www.khaolak2004.com 
>   and www.khaolakmap.com). Now it would be wonderful if I could  
> collect t
> 
> Am I searching in vain? Or are there a easy way to do this?
> 

Hi there,

Depends on your definition of "easy" and what software you are using
besides Illustrator.
In Linux it is "fairly" easy:
Use Osmarender (XML or Perl-Version) and convert your .osm to an svg.
Either import that to Illustrator or convert the svg to pdf using
inkscape (or anything else of course, but inkscape does pretty well
since 0.46, using cairo to export to pdf).
I'm experimenting with this at the moment but I think I'll post some
links to PDFs some time soon.

Jannis

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Easy way to export to Illustrator?

2008-04-05 Thread matthew-osm
Hi,

On Fri, Apr 04, 2008 at 09:30:20PM +0200, Axel von Matern wrote:
> Is there a easy way to get my OSM data into Illustrator?

Does Illustrator import PostScript? In which case you might be
able to use osmps[1] (save from JOSM and then run osmps to create
PostScript) - otherwise take the next step and run ps2pdf.

HTH,

-- 
Matthew

[1] http://svn.openstreetmap.org/applications/rendering/osmps

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Easy way to export to Illustrator?

2008-04-05 Thread Frederik Ramm
Hi,

> I don't see why there isn't an OSM to SVG converter webservice, 

Cool, then start one.

(Or, to be just a little bit more verbose - depending on the input it 
takes a hell of a lot of CPU time to render an area with Osmarender, 
even if yo uhave the CPU all to yourself. If you have multiple users 
accessing the web service, everything will grind to a halt. It can be 
done with the new-found Mapnik SVG output. Tom Hughes is working on an 
"export" tab for our web page that - according to the little bits of 
info he's dropped on these lists about it - might include a 
Mapnik-generated SVG output of a selected area. No idea about the 
planned release schedule though!)

Bye
Frederik



___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Easy way to export to Illustrator?

2008-04-05 Thread Erik Johansson
On Fri, Apr 4, 2008 at 10:48 PM, Axel von Matern <[EMAIL PROTECTED]> wrote:

> Until then I found out an somewhat easy way to do it (wont give you
> any fancy stuff like the tags or leyers etc):
> - Export GPX-file from JOSM
> - Upload it to http://www.gpsvisualizer.com/ and choose SVG as target
> file type
> - Import the SVG-file into Adobe Illustrator
> - All ways will be segmented. This you can fix with the "Concatenate"
> plugin from http://rj-graffix.com/software/plugins.html (20dollars).

I don't see why there isn't an OSM to SVG converter webservice, it's
what osmarender does.. To get a nice looking map in the zoom level you
want you will need to do some more reading than this:

On MacOSX you should be able to do this in the terminal:

## Download osmarender
curl -O 
http://svn.openstreetmap.org/applications/rendering/osmarender6/osmarender.xsl
curl -O 
http://svn.openstreetmap.org/applications/rendering/osmarender6/osm-map-features-z17.xml

## Download OSM data
curl http://www.openstreetmap.org/api/0.5/map?bbox=17.99,59.3,18.0,59.31
>sthm-map.osm
ln -s sthm-map.osm data.osm

## Render to SVG
xsltproc --path . --path ./symbols osm-map-features-z17.xml > map.svg

That gives you a SVG of an area where a lot of the swedish OSM:ers have lived.

-- 
/emj

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Easy way to export to Illustrator?

2008-04-05 Thread bvh
On Fri, Apr 04, 2008 at 09:30:20PM +0200, Axel von Matern wrote:
> Is there a easy way to get my OSM data into Illustrator?

Merkaartor includes a convert-to-svg option using the
osmarender stylesheet. Unfortunatly the version as released will
not give you the ability to actually save that svg. But it would
be trivial to add such a thing. Contact the merkaartor mailing
list if you are interested and I am sure we can help you quickly.

cu bart

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Easy way to export to Illustrator?

2008-04-04 Thread Axel von Matern
A PDF-exporter sounds great! And for Illustrator even better!

Would that be for the rendered files or for the data? I guess both  
would be valuable but a data dump to PDF is what I really need. :) Is  
it going to be a plug for JOSM or Potlatch? Layers? Tags?

Until then I found out an somewhat easy way to do it (wont give you  
any fancy stuff like the tags or leyers etc):
- Export GPX-file from JOSM
- Upload it to http://www.gpsvisualizer.com/ and choose SVG as target  
file type
- Import the SVG-file into Adobe Illustrator
- All ways will be segmented. This you can fix with the "Concatenate"  
plugin from http://rj-graffix.com/software/plugins.html (20dollars).

/Axel


4 apr 2008 kl. 21.46 skrev Richard Fairhurst:

> Axel von Matern wrote:
>
>> What I have found when searching the archives and else on Internet
>> seem very complicated and outadet processes to do this. I found a web
>> service that could make svg files out of gps files, but the vectors
>> where totally segmented and therby useless.
>
> As yet there's not an easy way to do it.
>
> When TomH finishes the export tab real soon now, you'll be able to
> export as PDF and then import that into Illustrator. Or maybe you'll
> even be able to export into Illustrator if I get round to adding that
> bit.
>
> If you're handy with planet.osm and can get it into a database,
> there's a command-line utility in svn, but I'm guessing from your
> message that you're not. But maybe someone on the list who has the
> full planet could run the script for you?
>
> cheers
> Richard
>
>
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Easy way to export to Illustrator?

2008-04-04 Thread Jannis Achstetter

Axel von Matern schrieb:

Hi!

Is there a easy way to get my OSM data into Illustrator?
[...]
Im making a map over Phang Nga province in Thailand and thought it  
would be great to use OSM as a tool to get the data right. In the past  
I traced  satellite images in Adobe Illustrator and traced (www.khaolak2004.com 
  and www.khaolakmap.com). Now it would be wonderful if I could  
collect t


Am I searching in vain? Or are there a easy way to do this?



Hi there,

Depends on your definition of "easy" and what software you are using 
besides Illustrator.

In Linux it is "fairly" easy:
Use Osmarender (XML or Perl-Version) and convert your .osm to an svg. 
Either import that to Illustrator or convert the svg to pdf using 
inkscape (or anything else of course, but inkscape does pretty well 
since 0.46, using cairo to export to pdf).
I'm experimenting with this at the moment but I think I'll post some 
links to PDFs some time soon.


Jannis


smime.p7s
Description: S/MIME Cryptographic Signature
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Easy way to export to Illustrator?

2008-04-04 Thread Richard Fairhurst
Axel von Matern wrote:

> What I have found when searching the archives and else on Internet
> seem very complicated and outadet processes to do this. I found a web
> service that could make svg files out of gps files, but the vectors
> where totally segmented and therby useless.

As yet there's not an easy way to do it.

When TomH finishes the export tab real soon now, you'll be able to  
export as PDF and then import that into Illustrator. Or maybe you'll  
even be able to export into Illustrator if I get round to adding that  
bit.

If you're handy with planet.osm and can get it into a database,  
there's a command-line utility in svn, but I'm guessing from your  
message that you're not. But maybe someone on the list who has the  
full planet could run the script for you?

cheers
Richard


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk