We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
I/O to GIS (Read 1084 times)
I/O to GIS
Nov 30th, 2007, 12:39pm
 
Hi,

Am wondering if processing has any methods for import and export files and images from GIS (Geographic Information Systems). Is there any way to read images made in GIS?

Any comments?

Thanks
Re: I/O to GIS
Reply #1 - Nov 30th, 2007, 2:32pm
 
I've build an applet which loads images from an umn mapserver and handle requests/respons with the mapserver. This is the easiest way, I think, to get GIS data, like shape files in to processing. All the GIS stuff is handle by the mapserver and only the displaying stuff is done by processing. There are some libraries written in JAVA to handle GIS files but I've never try this in processing.
Re: I/O to GIS
Reply #2 - Nov 30th, 2007, 2:56pm
 
We'll look into it. Thanks
Re: I/O to GIS
Reply #3 - Nov 30th, 2007, 5:00pm
 
You can use something like this is you want "raw" access to GIS data:
http://sourceforge.net/projects/geotools/

But like eskimoblood says, it's cleaner to work with a server of some sort.  I've built Java clients for ESRI's ArcIMS and it's really pretty simple:  send an xml request, receive an xml response containing the url to an image of the map as requested, download and show that image, done.  For really fancy full-featured clients the xml parsing can get pretty tedious, but i wouldn't call it "difficult".  ArcIMS is "nice" (as compared to MS TerraServer and Google Maps, for example) in that you can get back a single non-tiled map image for any scale/extent.
Re: I/O to GIS
Reply #4 - Nov 30th, 2007, 8:16pm
 
davbol wrote on Nov 30th, 2007, 5:00pm:
You can use something like this is you want "raw" access to GIS data:
http://sourceforge.net/projects/geotools/

ArcIMS is "nice" (as compared to MS TerraServer and Google Maps, for example) in that you can get back a single non-tiled map image for any scale/extent.


Yes ArcIMS is really nice and easy to use, especially the xml stuff, UMN Mapserver need to communicate via POST/GET BUT ArcIMS isn't that cheap instead of UMN Mapserver which comes for free.
Page Index Toggle Pages: 1