## Putting a marker on stitched openstreetmap tiles (Proc GEOCODE/ GPLOT) (modifying an example on Robert Allison's website)

Solved
Frequent Contributor
Posts: 96

# Putting a marker on stitched openstreetmap tiles (Proc GEOCODE/ GPLOT) (modifying an example on Robert Allison's website)

Hi everyone,

I am trying to follow and slightly modify this example of Street-level geocoding on Robert Allison's website.  I got the example to work and now I would like to put the marker on a 6x6 square of openstreetmaps tiles.   I got it to mostly, but the resolution and quality of the bigger map is greatly reduced.   I tried replacing the "goptions xpixels=400 ypixels=400;"  line by something bigger such as "goptions xpixels=4000 ypixels=4000;", but all I get is a small low-quality map on a huge white square.  What can I do?

To obtain the larger square, I use this image that spans x= 2040-2045 and y=4685-4690  (instead of the original tile that only covers t x=2042 and y=4687.    The larger image was obtained by clicking enqueue  at this link at bigmaps2 .

Thanks!

Simon

Accepted Solutions
Solution
‎08-15-2014 02:35 PM
SAS Employee
Posts: 170

## Re: Putting a marker on stitched openstreetmap tiles (Proc GEOCODE/ GPLOT) (modifying an example on Robert Allison's website)

Morglum,

You can also use a paper on http://support.sas.com/rnd/papers.

The paper shows you how to use an application I wrote to display an OpenStreetMap background image.

The paper title is; Google-like Maps in SAS

The paper and examples are at (the links are not permanent):

http://support.sas.com/resources/papers/proceedings13/377-2013.pdf

.

All Replies
SAS Employee
Posts: 1,024

## Re: Putting a marker on stitched openstreetmap tiles (Proc GEOCODE/ GPLOT) (modifying an example on Robert Allison's website)

Morglum,

That particular example was meant to be very 'minimal' to demonstrate geocoding (that's why it only uses 1 map tile).

I would recommend using one of my other examples as your starting point. I have many examples that 'stitch' several map tiles together into a larger map, such as this one...

Or this one:

Frequent Contributor
Posts: 96

## Re: Putting a marker on stitched openstreetmap tiles (Proc GEOCODE/ GPLOT) (modifying an example on Robert Allison's website)

Hi Robert,

Solution
‎08-15-2014 02:35 PM
SAS Employee
Posts: 170

## Re: Putting a marker on stitched openstreetmap tiles (Proc GEOCODE/ GPLOT) (modifying an example on Robert Allison's website)

Morglum,

You can also use a paper on http://support.sas.com/rnd/papers.

The paper shows you how to use an application I wrote to display an OpenStreetMap background image.

The paper title is; Google-like Maps in SAS

The paper and examples are at (the links are not permanent):

http://support.sas.com/resources/papers/proceedings13/377-2013.pdf

.

Frequent Contributor
Posts: 96