Skip to content

All-black maps with staticmaplite (OSM static map generation - Access control configuration prevents your request from being allowed)

I've been using the staticmaplite library for a while to generate static maps based on OSM tiles.

Recently I started getting the following error when downloading tiles:
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
The OSM team was very responsive when I contacted them and they pointed me to https://operations.osmfoundation.org/policies/tiles/.

Based on that info, I checked how staticmap.php was fetching tiles and noticed that the User-Agent string was hardcoded to "Mozilla/4.0". I fixed this and now I can fetch tiles again. You can get the updated version from here: https://github.com/crox-net/staticmaplite.

  • Twitter
  • Bookmark All-black maps with staticmaplite (OSM static map generation - Access control configuration prevents your request from being allowed) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg All-black maps with staticmaplite (OSM static map generation - Access control configuration prevents your request from being allowed)
  • Mixx All-black maps with staticmaplite (OSM static map generation - Access control configuration prevents your request from being allowed)
  • Bloglines All-black maps with staticmaplite (OSM static map generation - Access control configuration prevents your request from being allowed)
  • Technorati All-black maps with staticmaplite (OSM static map generation - Access control configuration prevents your request from being allowed)
  • Fark this: All-black maps with staticmaplite (OSM static map generation - Access control configuration prevents your request from being allowed)
  • Bookmark All-black maps with staticmaplite (OSM static map generation - Access control configuration prevents your request from being allowed) at YahooMyWeb
  • Bookmark All-black maps with staticmaplite (OSM static map generation - Access control configuration prevents your request from being allowed) at Furl.net
  • Bookmark All-black maps with staticmaplite (OSM static map generation - Access control configuration prevents your request from being allowed) at reddit.com
  • Bookmark All-black maps with staticmaplite (OSM static map generation - Access control configuration prevents your request from being allowed) at blinklist.com
  • Bookmark All-black maps with staticmaplite (OSM static map generation - Access control configuration prevents your request from being allowed) at Spurl.net
  • Bookmark All-black maps with staticmaplite (OSM static map generation - Access control configuration prevents your request from being allowed) at NewsVine
  • Bookmark All-black maps with staticmaplite (OSM static map generation - Access control configuration prevents your request from being allowed) at Simpy.com
  • Bookmark All-black maps with staticmaplite (OSM static map generation - Access control configuration prevents your request from being allowed) at blogmarks
  • Bookmark All-black maps with staticmaplite (OSM static map generation - Access control configuration prevents your request from being allowed) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Graphs with php

I'm looking for an easy solution to plot out graphs using php (or perl). So far I've found a couple which look nice:

Chart

JpGraph

Libchart

PHP-GNUPlot (needs GNUPlot)

Image_Graph (PEAR Package)

HTML-GRAPHS is not exactly what I want, but still a nice idea

PHP/SWF Charts seems to be popular, but I don't want flash
  • Twitter
  • Bookmark Graphs with php at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Graphs with php
  • Mixx Graphs with php
  • Bloglines Graphs with php
  • Technorati Graphs with php
  • Fark this: Graphs with php
  • Bookmark Graphs with php at YahooMyWeb
  • Bookmark Graphs with php at Furl.net
  • Bookmark Graphs with php at reddit.com
  • Bookmark Graphs with php at blinklist.com
  • Bookmark Graphs with php at Spurl.net
  • Bookmark Graphs with php at NewsVine
  • Bookmark Graphs with php at Simpy.com
  • Bookmark Graphs with php at blogmarks
  • Bookmark Graphs with php with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca
Defined tags for this entry: ,