Hot answers tagged

4

why are all WFS and WPS still cgi based? They are not. HTML5Canvas or SVG can render the maps on the web. Canvas and SVG are browser technologies for drawing. WFS and WPS are server protocols for retrieval and processing. Non-cgi WFS/WPS: GeoServer, FeatureServer, ESRI tools, GeoTools. These are in Java, Python, and C++.


4

R. 70 and 80 will be difficult, Weather/ Preciptation data only: There first address for preciptation data is European Centre for Medium-Range Weather Forecasts in Reading. http://www.ecmwf.int/ There are bunch of data products mostly free for download. Look for the data center, reanalysis projects adressing the 60s and 80s. There is a project called ...


4

In general, debugging JavaScript code is not as easy as debugging your python code although firebug has made the problem much simpler already. When it comes to js libraries like OpenLayers, first make sure you have the uncompressed version for development. When some error occurs, you can find the source file and the code line the defect originates in ...


3

All javascript libraries come in source form, so it is only a matter of taking the time to dive into the code. OpenLayers is no different, only you are probably using the minified, compressed into a single huge file version which is hard to read for humans. To help with debugging you should use the non-minified version of the libraries when developing and ...


3

I am working on one here: https://github.com/morganherlocker/geojson2shape It is javascript, but it runs server side, which I would bet all of the solutions require. This one is essentially a node.js wrapper around ogr2ogr. It would be easy enough to set up a simple node.js server though that accepts geojson and sends back the url to a shp download (that ...


3

It's not possible to do with pure JavaScript as it creates 3 binary files. Your best bet would be to setup a OGR web service that would take json in parameter and output a zipped SHP. Look at Ogre, it may help: http://ogre.adc4gis.com/


3

There are a lot of options. OpenLayers or Leaflet are probably a good place to start for the client side and they can read local shapefiles. For more options have a look at the OsGeo website (especially note the webmapping links on the right hand side).


2

I will try to answer to each question separately, starting from the development enviroment: I guess any IDE that supports php will work for PHP mapscript development. I can't suggest any because I don't use php, just google 'php ide'. As for example sites I should point you to the two most popular Open Source web applications built with PHP/mapscript: ...


2

An answer a bit generic without more details. An introduction to GTFS to read You also need to import GTFS in database GTFS DB gtfs SQL importer For viewing, really depend but if no routing needed, just use you db to make SQL join from tables and export features to geojson (e.g PostGIS) if you need vector. Consume this GeoJson with Leaflet or ...


2

Are you using Esri software? If so, take a look at this question: Can I copy an entire geodatabase with relationship classes and domains and reproject all feature classes from wgs84 to state plane?? It's a similar situation, specifically, see of the link in my answer (http://gis.stackexchange.com/a/18108/653) which walks you through creating a replica ...


2

If you have some Satellite data, you could digitize off it directly in Qgis. If you don't have any satellite data, you could look into adding either the OSM layers, or the Bing maps layers (using the OpenLayers Plugin) and digitize using that.


2

If you can see the places you are interested in with Google earth you can see the coordinates of your mouse cursor in the information bar at the bottom of the window. In the image below my mouse was over the field in the upper middle portion and you can see the coordinates in teh lower right portion of the image. If you don't have an excessively large ...


2

postgisonline is for things like this. go to http://postgisonline.org/map.php and paste your code. But you have to write it as a query understandable for PostGIS and call the geometry the_geom. Then you will, from your example get this in return


2

Sorry, Eva, but that is not possible in a easy way: gvSIG is a desktop software, so it has no webs service to share your project or views. On the other hand, I can advise you some solutions depending on what you really need: Static information: Export your views as image or PDF. Share a layer: You can export your layer as KML and load it in google Maps or ...


2

There are two plugins for Leaflet that you can use: Leaflet draw It adds support for putting markers on a map. This way your users simply can put down a marker at the place where they want to go to. Leaflet geosearch It adds support to lookup address based on OSM, Google, and ESRI. This way your user can write down general locations, and a marker will be ...


2

It is possible with QWebView from QtWebKit. You can display arbitrary websites in a QWebView and you can even interact with them from QGIS: django_web_view.py # -*- coding: utf-8 -*- from PyQt4.QtCore import Qt, QUrl, pyqtSlot from PyQt4.QtGui import QApplication from PyQt4.QtWebKit import QWebView class Django_Web_View(QWebView): def __init__ (self, ...


1

You should have a map server to publish postGIS data. I could advise you geoserver and in particular Postgis Raster Plug in. you can find some technical help Here


1

The problem is the top value, 15530191054167961601. It is bigger than allowable numbers in CartoCSS expressions. Do you really have values in the quintillion?


1

Assuming your problem is that your ArcGIS Server is not public facing but your web server is (and assuming you can't change this), then I see two relatively easy solutions: 1) Install ArcGIS Server Web Adaptor on your web server and point it at your ArcGIS Server. Which would effectively open your AGS completely up to the web. See ESRI explanation: ...


1

I was able to fix this problem by checking my shared folder permissions in windows explorer. In windows explorer, navigate to 'C:\inetpub\' right click on the folder 'wwwroot' and choose "Share With...>Specific People" From the dropdown, choose 'Everyone', and set permission level to 'Read'. This should fix the issue.


1

I addition to the answers provided in the Mapperz' link, another option you might consider is to set up your own instance of GeoServer with a suitable area of data from OSM loaded into a PostGIS database. You can obviously add in other data as well but OSM is a good start. All of this is free. I have this set-up as an off-line test-rig for web mapping ...


1

If you want to create a tile-based Google Maps style 'slippy map' where custom tiles are geolocated and served up from a server with different levels of detail at different zoom levels, geolocated interactive features, etc etc, the best and simplest option I'm aware of is Mapbox's TileMill (examples, docs), which is designed for the purpose. And it's open ...


1

Maybe my understanding of the question, is totally different from other people who have answered, but I think that you have a bunch of polygons in WKT, and you want to see them on a map, as a one time thing. If so, I'll guide you to this sample of OpenLayers: http://openlayers.org/dev/examples/vector-formats.html You can paste the WKT in the Box, and ...


1

You could use a new "webservice" called MapFart :) alias mapfart='curl -H "Content-Type: application/octet-stream" --data-binary @- mapfart.com/api/fart' echo 'LINESTRING(3 4,10 50,20 25)' | mapfart


1

I tried the request you posted in the comments above and got the same until I replaced the encoded ampersands (replaced "&" with "&"). I was able to get a response, but there were no features at that x/y location. I then constructed a corresponding GetMap request, removing the stray comma in the STYLES parameter, as follows: ...


1

Esri help for 10.0 can be found here. You may need to configure the capabilities. This is a sample get capabilities call to the rest endpoint. I am not an (OGS) expert but don't think you have a complete call URL. esri sample GetCapabilities from help If your capabilities allow it. You can make the getfeatureinfo call with this sample. esri sample ...


1

Perhaps your concern comes from the fact that CGI is an obsolete technology. However there are improvements like FastCGI or SCGI that work fine. First class HTTP servers like lighttpd or nginx can use these technologies for serving dynamic content. I have set up WMS and WFS services with MapServer, lighttpd and FastCGI, and this combination has worked ...


1

Most desktop GIS applications have an "identify tool", or icon, that you click before you can click on features on the map. It also, usually, allows you to specify which layers should be identifiable. It usually shows this data in a generic field-value table. This can be useful in a generic application for analysts that are familiar with the data. None ...


1

The answer reside on the several sources. First you must create an html code to get the user location. It can be an html form/input (doc here). You can also use a locator (go here and choose locate) . This location you store it in a OpenLayers.LonLat (doc here), and you use it to draw the point as an Openlayers.Marker (doc enter link description here). Then ...


1

Try the source directly from the git repo here of opentripplanner. I think it's somewhere in this file where they setup the map. There you see: initialize : function(config) { otp.configure(this, config); this.map = otp.util.OpenLayersUtils.makeMap(this.mapDiv, this.options); if (this.baseLayer == null) { this.baseLayer = ...



Only top voted, non community-wiki answers of a minimum length are eligible