Tag Info

New answers tagged

0

CartoDB does not implement a WMS service, but the team has talked about it internally. Contributions are definitely welcome though, as CartoDB is open source. And doing this would be an awesome contribution, I think many others would appreciate it. Probably the easiest way to implement it would be to integrate with http://mapproxy.org/ I believe CartoDB ...


0

try adding each layer (or a list of layers, it's as you prefer) in the succes fonction of your $.getJSON and call crear() in your document ready. If not, map.addLayers([]) will be called before the response is completed... so it will try to add an empty list function crear( n ){ $.getJSON('json/capas.json', function(data) { ...


0

Finally I am getting popups on my static ip. The issue is we need to set our port in the router. I am using DLink 2730U modem, I have set my Apache Tomcat port in Port Forwarding.


1

You seem to be right and server wants BBOX coordinates in lon-lat order even it claims that it is a WMS 1.3.0 server. This brings the whole world from east to west ...


0

A blog posting titled CartoDB makes it easy to add the perfect basemap to your data visualization says (with my bolding): using the CartoDB interface, you can easily add MapBox, XYZ, or WMS tiles by just dropping in a URL. This indicates that CartoDB can consume a WMS. However, I have not uncovered anything to suggest that CartoDB provide a WMS ...


0

You need to understrand that the parameters that you pass to the mergeNewParams function, is infact passed to the OGC Service as a HTTP parameter. SO whatever parameter you pass, should be a valid HTTP parameters. I'm assuming that source & target are two string variables that you want to pass. In that case, you can do something like this: var ...


1

Sure, it takes time to process all those vertices and render them down to the raster. And if you have enough vertices, they probably don't add any information to the picture at all. Like, if you have a river with 1000 vertices and map it into a 1000x1000 image, you might get one vertex per pixel, but probably you'll end up with lots of pixels with more than ...


1

The proper way to set the maximum level of a WMS layer is the use of rules in the style associated with the layer. If you are afraid that users can zoom out of 1:1000 with other style, you can define only one style associated with the layer.


2

The best reference for this is this page on the OSM Wiki. It has Pseudo code as well as code in various languages for converting from the XYZ tilenames, to the bounding box. The Pseudocode for this is as follows n = 2 ^ zoom lon_deg = xtile / n * 360.0 - 180.0 lat_rad = arctan(sinh(π * (1 - 2 * ytile / n))) lat_deg = lat_rad * 180.0 / π Note that this ...


2

It is up to the WMS server admin which formats the server is configured to support for GetFeatureInfo. Check from the GetCapabilities of the WMS server the list of supported INFO_FORMATs. Geoservers by default support geojson and GML info formats and those include also geometries with GetFeatureInfo results. You can try with the following links: ...


0

With Geoserver you might want to have a try with the CQL filters which are much easier to write than the official OGC style XML/GML filters. I took the "DISJOINT" example from the manual http://docs.geoserver.org/latest/en/user/tutorials/cql/cql_tutorial.html and converted into WFS GetFeature request with INTERSECTS filter. You can test it with the demo ...



Top 50 recent answers are included