Tag Info

New answers tagged

0

Maybe you could do it with java. Maybe you could do it with java Search circles by colors. Get coordinates of circles. Match this coordinates with some third party like google.


1

Convert this pdf map as dxf format using "Adobe Illustrator" 2.Take some control points from Google earth in map area and mark same places in dxf file then do spatial adjustment (Arcgis) with familiar software.


0

You could change your bounding box to the area where the failed tiles are located. Then perform another mini-render. I think you'd have to use a tool like Landez to merge the two mbtile databases. Landez can also render you project's style sheets. That may be another way around your problem. You might want to look at Tobin Bradley's post on using TileMill ...


2

Long Story Short: You are screwed with the out of memory issue. A memory failure is really hard for an application to safely recover from. Edit --job=[file] Store state in this file. If it exists, that job will be resumed. (Default: false) TileMill Command Line options may provide what you are looking for. I provided this link in your other question ...


1

You want to look at the attribute data with [name='Mary Street']. Please look at my CartoCSS answer here. "Orchard Road" was used as more information was provided in the comments. Depending on what other road types were involved, one test had to use [name!='Mary Street'] for styling purposes.


0

Have a closer look at openmapsurfer ... choose a grayscale layer and the boundary overlay, and zoom to the area you are interested in ... boundary visible? Then try boundary service by OSM-user wambacher ... choose the country and province etc from the tree menu at the left. Then you can export the boundary silhouette in different formats.


0

I achieved this by creating a second shapefile which only contained the n th contour (100 in your example), but it would be preferable to style a single shapefile in the way you describe.


1

I think you are looking for this kind-of idea. All the common styling are put in one section of the the style. These will cascade to other parts of the style. At zoom=12 the text-size is changed and name is added to the condition. Everything paints from zoom 13 and beyond. At least that is what I think you are trying to do. The idea is from the MapBox ...


1

Im guessing the problem might be that your filtering contour lines at the rendering phase, instead of when fetching them from the database. The best strategy for making mapnik/tileMill run fast is to never fetch anything from the database that isnt going to be rendered. Here is the sql query I use for contours: (SELECT geom, height, idx FROM contours ...


0

It is tricky to use spatial indexes for contour lines: contour lines are usually very long with complex shapes - they are also usually close to each other. Consequently, their envelopes are very large and intersects a lot, which makes spatial indexes based on features' envelopes not so efficient. I suspect tilemill retrieves all contour lines intersecting a ...


1

There is a bugfix relating to windows that was added to version 0.10.1 of TileMill. The bugfix may solve Linux problems too. This may be related to how node.js was installed on your computer. If you didn't know, node.js is used to run TileMill. You may have to correct the node.js installation issues to resolve the error.


1

It would be great if you could just add these tileJSON files anywhere like your dropbox account. The TileMill extension expects a service to provide the file to the extension. As noted at the bottom of the link you provided, "If you have a custom tileset available elsewhere, you'll need a TileJSON service to describe this map. You can use the URL of this ...


1

It turns out to be really simple, because TileMill supports scaling features. L.tileLayer('http://example.com:20008/tile/MyMap/{z}/{x}/{y}.png' + (L.Browser.retina ? '&scale=2': ''), { detectRetina:true }).addTo(i); There are three parts: L.Browser.retina tells you there is a retina display, which you use to... request scaled map tiles ...


1

If the data you're styling in Tilemill is coming from PostGIS, then use QGIS to connect to your PostGIS database, and make the edits there. Now I can't remember if you'd have to re-start Tilemill or not, but even if so, the data should show up as changed in Tilemill as it isn't 'cached' until you export / upload it as tiles. Regarding user roles in PostGIS ...


1

From what you say I assume that countries boundaries and Islands are on the same shapefile. Then the best way will be to split your shape file layer in Qgis to separate Island from Land.


0

It is a css issue. For the title you have to modify wax-legend class. For example: .wax-legend { max-width: 400px !important; text-align: left; font-size: 100%; margin-bottom:10px; } For colours matter, I have a 14 categories working like a charm as this: <div class="my-legend"> <div class="legend-title">Salubridad de la ...


1

The new code using a multiline label method suggested by Bill and documented here. If anyone know an even better way to control the placement of rotated/oriented text, please add your thoughts. My new code: #test_project_los::labels_sb [zoom >= 16] { text-name: [vol_sr] + '_' + [vol_st] + '_' + [vol_sl]; text-wrap-width: 1; ...


2

It may be more data preprocessing than you'd like, but I suggest Try to put every line of the "stacked" cluster of labels into a single field with a delimiter of some sort ("label1, label2, label3, etc.") Use text-wrap-character to create your line breaks This way your "label stack" will actually have a single anchor point, though the text consists of ...


0

You do not need to re-project your shapefile in Arc Map (Tilemill will do it). Instead, when you add your layer in Tilemill you have to select Custom for SRS and enter the complete datum of your shapefile.


0

Try adding text-clip: false for ::label


1

You can use gdal_merge which will combine the rasters. Have a look at the description of gdal_merge: This utility will automatically mosaic a set of images. All the images must be in the same coordinate system and have a matching number of bands, but they may be overlapping, and at different resolutions. In areas of overlap, the last image will be copied ...


3

To display that many polygons, you'll almost certainly need to use a tiled layer, rather than streaming the vectors to the client. You've tagged this with ArcGIS, so you could use ArcGIS for Server or ArcGIS.com to generate a tiled layer, which could be shown in the ArcGIS JavaScript API. You can display this tiled layer with the OpenStreetMap basemap ...



Top 50 recent answers are included