Tag Info

Hot answers tagged

32

Edit: adding more links to GIS specific resources. GIS Lounge's GIS + Python page Python Geo-Spatial Development For straight python, his has been discussed thoroughly on Stack Overflow: How to learn Python? Newbie teaching self python, what else should I be learning? Fastest way to learn Python? How should I go about learning Python? The second ...


19

Fortunately for you (and all of us!), there are plenty of available (and mature!) options in the FOSS4G world! Following your technology preferences here's some examples: Python Mapfish GeoDjango PHP PMapper pure Javascript OpenLayers LeafLet OpenLayers + ExtJS OpenLayers + Jquery Mapquery, jeobrowser For a more complete reference please visit ...


18

Try http://www.gis.usu.edu/~chrisg/python/2009/ in an attempt to get back on topic :-)


16

There is one blog post from Michalis Avraam that explains essential skills to succeed in GIS career which I think is well written. You will probably find lot of good advices there.


15

Probably not. None stand out. Your time would be much better spent learning Django/GeoDjango. Django is similar to Rails in that it's a web application framework. It uses Python rather than Ruby. The geospatial functionality is much more mature than GeoRuby. Ruby/Rails is a great platform to develop on but the spatial functionality isn't on par with ...


14

If you've got an GDAL/OGR dev environment (headers, libs), you could radically simplify your code by using Fiona. To read features from a shapefile, add new attributes, and write them out as GeoJSON is just a handful of lines: import fiona import json features = [] crs = None with fiona.collection("docs/data/test_uk.shp", "r") as source: for feat in ...


12

Try something like this: dim f2 if [field1] = "foo" then f2 = "bar" end if Screen shot of this being used in the field calculator.


11

I like Chris Garrard's Python for Geoprocessing course materials. http://www.gis.usu.edu/~chrisg/python/2009/ Personally, I find programmatic manipulation of OGR/GDAL to be indispensable. With respect to finding the best fit for you, consider the software or geostack you wish to be most expert in (like ArcGIS, QGIS, PostGIS-GeoServer-OpenLayers), and then ...


11

First question: how much of this are you doing in Python? Are you just calling out to Geoprocessing tools or are you doing a significant amount of numeric analysis in Python? If the former, the bottlenecks likely live in the tools and using native code in your script won't buy you as much as some other clever workarounds. If the latter, then you may want to ...


10

If you're into open source GIS, I would recommend FOSS4G, 6-9 September in Madrid Barcelona this year. You have another week or so to submit an academic paper if you want to present.


10

Although this isn't really the direct answer to your question, qgis acts as a relatively simple GIS viewer which can access PostGIS. In addition to the main application -- which is a relatively complex piece of software -- the core of the qgis library can be 'pulled out' and used from an application written in C/C++ or (I believe, with some work) Python. ...


10

You dont need to program to do this - you just need a desktop mapping package and your data in a standard format. Standard formats include shapefiles for points, lines, and polygons, and geoTIFFs for raster (gridded image-type) data. I use the Open Source Quantum GIS, but there are other Open Source applications. Commercial GIS applications will be way too ...


9

The GRASS command r.profile performs this (documentation, source) and should provide a good basis for implementing a cross section, and is available under the GPL.


9

Maybe QGIS "Profile" plugin source code can be a start.


9

ESRI have a heap of videos, and I think these are the best resources to get started. I would recommend looking at the ESRI Developer Conference videos At time of writing, 2010 is the latest A Developers Guide to ArcGIS Server A Developers Guide to ArcGIS Mobile The ESRI Development Process Intro To ArcGIS Desktop Add-Ins Each of these videos conclude ...


9

For Python GIS, see the FOSS4G 2010 python workshop and the corresponding slides A good start, mainly oriented on Pylons framework and Geoalchemy, the two main components of Mapfish Server Edit : Do a git clone https://github.com/elpaso/python-gis-workshop see into the pdf all the links related to GIS for python and enjoy !


9

i am currently developping a rails app with some mapping capabilities, and i really love ruby and RoR, but sadly enough there is very little plugins mature enough for a complex WMS/WFS service. But i just want to add that the recent rGeo library does quite a good job with projections (proj4 bindings and ability to use other APIs), integrates smoothly with ...


9

You have to use lyr.SetFeature(i) to trigger the update in your shape file. You'll have to close the data sources in the end so things get written. import sys import ogr ds = ogr.Open( 'tttttttttt.shp', update = 1 ) if ds is None: print "Open failed./n" sys.exit( 1 ) lyr = ds.GetLayerByName( "tttttttttt" ) lyr.ResetReading() field_defn = ...


9

Some geospatial scripting languages: 1) Python/Jython Python/Jython alone: Python and Jython can be used alone for processing geospatial data without any software, using modules like osgeo (GDAL / OGR), PySAL, Shapely, Fiona, Pyshp,..., see Python Package Index, Topic:GIS or Geoscript (Jython). There are many examples on GST as scripting language in ...


8

Don't start with C++ and GIS without learning software development first. It's just too much. Python is a good place to start regardless of what GIS platform you go with later. There are a lot of books, websites and training materials available and a lot of colleges use python as an introduction before going on to the heavy duty programming languages, like ...


8

Go with 2010. I don't know any reason you'd pick 2008 over 2010 if you're developing with ArcGIS 10.


8

Dive Into Python. Good and free. Provides good intro to many basic Pythonic principles. Here's a shameless plug for a article I wrote for ArcUser on geoprocessing with Python.


8

I am surprised that no one has mentioned the official Python tutorial. I have been working through it on and off for the past couple of years, and I have found it to be both simple and helpful. http://docs.python.org/tutorial/


8

It won't be released in paper form until December, but Erik Westra's 'Python Geo-Spatial Development' from Packt Press looks promising: https://www.packtpub.com/python-geo-spatial-development/book I second Chris Garrard's materials at: http://www.gis.usu.edu/~chrisg/python/2009/ There are videos on general Python concepts and skills at Miro: ...


8

Using Fusion Tables and Google Maps you will be able to keep track of your campaign Topic Spotlight: Communicating demographics: Examples https://sites.google.com/site/fusiontablestalks/stories Fusion Mapper will give you a head start: http://earth.google.com/outreach/tutorial_fusion_yourowndata.html


7

Here are few resources to get you started. http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Building_add_ins_for_ArcGIS_Desktop/0001000000w2000000/ http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Walkthrough_Building_custom_UI_elements_using_add_ins/0001000001ms000000/ ...


7

Strictly from a learning perspective, learning something new is always worthwhile. However, Ruby/Ruby on Rails isn't extremely popular in the GIS world. Because of lack of popularity, I would suggest you pick up another language instead, such as Python, if your goal is to learn something new. I don't think you'll find any GIS-specific advantages to ...


7

In general this shouldn't be a problem but there are some objects in the ArcObjects library that you want to be very careful about managing their lifetimes so that you don't tie up critical resources or keep locks on database tables for extended periods. Among lots of other good info, in this thread James MacKay lists some of the types of objects you should ...


6

I've attended two ESRI UCs and got to go to the ESRI Dev Summit in Palm Springs this year. If you are drinking the ESRI Kool-Aid, then the Dev Summit is your best bet over the UC, in my opinion. Everything at the Dev Summit is developer-centric. Code everywhere. ESRI engineers everywhere. The engineers are at the UC as well, but not in such a massive ...


6

If you are interested in Open Source projects, you'll find the answers to this question helpful: What are the FOSS equivalents to these ArcGIS products? There are quite a lot of different options how to build an OS web mapping stack. Without knowing your use case it's a little difficult to suggest one over the other.



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