1

I have set up Tilemill on a Ubuntu server and successfully accessed it from browser using

TILEMILL_HOST:20009

I have already uploaded planet_osm data to postgresql/PostGIS DB in the same server machine. At first I have created a "Test" project where I have added a layer using the following information but the tiles were broken.

dbname=osm 
host=<PG_DB_HOST>
port=<PG_DB_PORT>
user=<PG_USERNAME>
password=<PG_PASSWORD>

For the Subquery for testing pupose I used the following query

( SELECT way, name, amenity FROM planet_osm_point
WHERE amenity IS NOT NULL AND name IS NOT NULL
) AS data

Unfortunately there is no visualization in the web browser.

Basically I have created a custom design for an area in my local machine. I want to export MBTiles file to the server directly. I am using Tilemill for Windows locally where I have created that custom project. Now I want to transfer the MML project files and MSS Carto CSS files to the server and export MBTiles. The map changes will be frequent, this is why I need a solution where I can only upload the MSS and MML files to server and export MBTiles from Command line. The Local DB and Server DB Schema is similar. Now I have the following difficulties-

  1. How to setup the project?
  2. How to establish connection to PostGIS through Tilemill web service?
  3. How to upload MML project file, MSS cart CSS files and other shapefiles and icons to server and which directory to upload?
  4. How to export MBTiles? (Though I have read this Article. I am mentioning this question if there is any changes in exporting command while using Tilemill as web service)
  • The format of SE requires one, and only one, question per post. – Scro Jan 8 '15 at 13:26
  • All are same question. I have scatter the question for better understanding.... – Devils Dream Jan 9 '15 at 16:25
  • Looks like four questions to me... – Alex Leith Jan 11 '15 at 22:09
  • Simply, For large OSM dataset Tilemill export a huge amount of tiles that I have to generate it in Server Machine. The server machine does not support GUI. This is why they installed tilemill using server=true. Now I can access Tilemill in my browser using <SERVER_HOST>:20009. I have already stored data in Postgres of Server machine. I have designed map in my local machine (Win7 64bit) and I want to transfer my project files to server (Ubuntu 12.04) in tilemill project directory to generate tiles. – Devils Dream Jan 13 '15 at 6:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.