BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
morglum
Quartz | Level 8

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


4687[1].png

LWSweOD[1].png

1 ACCEPTED SOLUTION

Accepted Solutions
Darrell_sas
SAS Employee

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

http://support.sas.com/rnd/papers/sasgf13/GooglelikeMaps.zip

annomapad1.png

.

View solution in original post

4 REPLIES 4
GraphGuy
Meteorite | Level 14

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...

http://robslink.com/SAS/democd68/disney_benchmarks.htm

http://robslink.com/SAS/democd68/disney_benchmarks_info.htm

Or this one:

http://robslink.com/SAS/democd67/myrtle_beach_resorts.htm

http://robslink.com/SAS/democd67/myrtle_beach_resorts_info.htm

morglum
Quartz | Level 8

Hi Robert,

Thanks for the links, I hadnt noticed these examples.

Darrell_sas
SAS Employee

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

http://support.sas.com/rnd/papers/sasgf13/GooglelikeMaps.zip

annomapad1.png

.

morglum
Quartz | Level 8

Thanks Darrell, this looks much easier to use than what I hacked based on Robert's examples.  thanks for building this!

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1176 views
  • 3 likes
  • 3 in conversation