Thursday, April 29, 2010

ArcGIS Polygon Search

--Polygon Search for Transport Spending
Filter Geometry: {"rings":[[[272276.48887,6179999.947118772],[385469.50589442987,6361478.599097537]]]}
Geometry Type: Polygon
Input Spatial Reference (WKID): 28356
Spatial Relationship: contains
Where clause: empty

I found this by sniffing the traffic of a page that I created by copying and pasting the html in http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jssamples_start.htm#jssamples/util_simplify.html

Monday, April 12, 2010

Installing Erdas Professional 2010 on Amazon EC2

Erdas Professional can only be installed on Windows platform.
1.Basic 64-bit  Microsoft Windows Server 2008 Basic 64-bit Microsoft Windows Server 2008 (AMI Id: ami-cdc22ea4)
2. Download Erdas Apollo Professional 2010 from Erdas website (http://www.erdas.com/Products/ERDASProductInformation/tabid/84/currentid/3148/objectid/3148/default.aspx), you will need to register, and an instruction of how to download it from ftp.erdas.com will be given.
3. Install PostgreSQL (at least 8.3) and PostGIS extension 1.5
4. Create a new database using template_postgis. The username/password/database info will need to be entered into Apollo installation window at some point.
5. Download and install the Erdas net-License Manager (http://www.erdas.com/Products/ERDASProductInformation/tabid/84/currentid/3148/objectid/3148/~/tabid/84/currentid/2491/default.aspx)
6. Request evaluation license from Erdas websites, and follow the instruction of how to install it.
7. Once the license file is installed, you should be able to access http://your-amazon-ec2:8080/apollo-client and http://your-amazon-ec2:8080/erdas-apollo.