Tag Info

New answers tagged

1

What are looking for is an OpenLayers strategy. You do not use this directly, but one of the subclasses, such as BBOX or Cluster or Fixed. The cluster strategy does as it says and combines point that are close together into clusters, based on a threshold, which will lead to much faster rendering times when you have many points in view. Unfortunately, the ...


1

I think the best approach is to go with Mapserver or Geosever (since you are new, Geoserver will look a lot easier) Once you set a WMS service with geoserver, you can add the resulting WMS to your OpenLayers project. Geoserver automatically returns only the information in the extent of the current view, also you can set the range of visible scales on your ...


1

This article on the marching squares algorithm outlines the general algorithm. Here is a good implementation, in various languages, though sadly not Python. Having said that, the algorithm basically just operates on arrays in loops, so ought to be reasonably easy to port. I have used the Java version to do contours and can confirm that it works, in the ...


0

i worked on SRTMGeoTIFFReader and this is what i give All i want is the coordinate of 4 corner of my geotiff pic like this : Corner Coordinates: Upper Left ( 69.7357061, 29.87658367) Lower Left ( 69.7357061, 28.19226367) Upper Right ( 86.6125061, 29.87658367) Lower Right ( 86.6125061, 28.19226367) Center ( 781741.061, 2903442.367) have you any ...


0

thank you for your attention, i am newbie with geotiff and i'm sorry about my questions, i cant install php-gdal,and cant work with that , i think this plug in is for linux OS , but i worked on SRTMGeoTIFFReader and this is what i give i just want the coordinate of 4 corner of my geotiff pic like this : Corner Coordinates: Upper Left ( 69.7357061, ...


0

there is a php extension called php-gdal I found some install instructions: https://www.drupal.org/node/2133103 the main site: https://github.com/geonef/php5-gdal helpful? http://dl.maptools.org/dl/php_ogr/php_ogr_documentation.html I looked at scruss' suggestion: ( How to read GeoTIFF using PHP? ) and downloaded the code to take a look at. I'm not ...


0

Thank you for the answer, in case that anyone else has the same problem be informed that i solved my problems using the geoPHP library!


0

To compute the buffer on the client side, you could use JSTS and its buffer function. See the example here. On the server side, it seems MySQL extension for spatial data also has a buffer function. If you need to compute high distance buffers, be aware the projection matters.


1

You shouldn't need to re-implement the wheel, there are lots of geospatial libraries out there. As you've noticed, PostGIS includes a buffer function, unfortunately MySQL has sub-standard spatial support and therefore doesn't include one. If possible you may wish to consider switching to PostGIS if spatial functionality is important to you. There are ...


0

The problem is solved. First, I changed echo $datafile to echo '<script type="text/javascript">imageUrl = "'. $datafile. '"; </script>'; This js variable is echoed in the html output page. Then, it was possible to call the js variable, imageUrl. There, was another problem with the image display. I was hiding the image layer div using ...


1

Glad you got it sorted out. It is worth clarifying that the basemaps from the BasemapGallery have no relationship to the basemap ids of the map object. The mechanics as I understand them are as follows: The widget retrieves the basemaps it uses from ArcGIS Online from a specific map group. First it searches for the group based on title/owner: ...


2

As @tmcgee points out in the linked answer, the list of basic base maps that can be passed to the constructor are set in the esriConfig defaults object. It's not that the error message needs to be updated, it's that the constructor can only be passed a value in this list and that doesn't include an entry for the Terrain with Labels basemap. I've handled ...


0

I've managed to scrape data and (partially) convert it to spatial data using R. I can scrape the data using this: url = "http://www.majidata.go.ke/ajax-maps.php?reg=area&id=30202020116" test <- readLines(url, warn="F") Which gives me a character vector containing the coordinates, the name, and a hex colour. I then split the vector into a ...



Top 50 recent answers are included