Monday, 21 May 2018

installation - Creating geodatabase (and st_geometry) in Oracle Express (XE) for home/personal use?


I'd like to set up a database environment at home that mimics what I have in the office (Oracle enterprise geodatabase/ESRI's st_geometry). I want to do this for spatial database training purposes in an Oracle/ESRI environment.


I plan to set up ArcGIS Desktop Advanced (Personal Use license) as the client and Oracle XE 11g R2 (64-bit) as the database. I'll create a geodatabase in the Oracle XE database, and add a st_geometry user-defined type.


From what I've read, it looks like this is possible, in theory . The Oracle database requirements for ArcGIS 10.3.x document says that Oracle 11g R2 (64-bit) 11.2.0.3 is supported by ArcGIS desktop. However, it doesn't explicitly say that the express edition (XE) of Oracle is supported. Also, it has occurred to me that I've never heard of anyone else doing this.



Since I will be purchasing new hardware and software solely for this purpose, I'd like to know ahead of time -- will this work? Can I create a geodatabase (with st_geometry) using ArcGIS Desktop Advanced (Personal Use license) in an Oracle XE 11g R2 (64-bit) database?



Answer



ESRI.ST_Geometry:


To my surprise, I was able to use the Create Spatial Type tool to create st_geometry in an Oracle XE database. This worked, despite the fact that my database was not a geodatabase.



The Create Spatial Type tool adds or upgrades the ST_Geometry SQL type, subtypes, and functions to an Oracle or PostgreSQL database. This allows you to use the ST_Geometry SQL type to store geometries in a database that does not contain a geodatabase. This tool also can be used to upgrade an existing ST_Geometry installation in an Oracle or PostgreSQL database.





Geodatabase:


Unfortunately, I was not able to create a geodatabase in the database. I believe the only way to create a geodatabase in an Oracle database is to use the Enable Enterprise Geodatabase tool. One of the parameters of the tool is authorization_file, which of course, I don't have, because I have not purchased ArcGIS Server.




Provide the path and file name of the keycodes file that was created when you authorized ArcGIS for Server Enterprise. This file is in the \Program Files\ESRI\License\sysgen folder on Windows and /arcgis/server/framework/runtime/.wine/drive_c/Program Files/ESRI/License/sysgen directory on Linux. If you have not already done so, authorize ArcGIS for Server to create this file.



As a result, I do not have extended geodatabase functionality in my database, such as domains, subtypes, topology, etc..




ArcGIS Server/Enterprise Geodatabase/EDN:


With regards to purchasing a license for home use that would include ArcGIS Server, I think @PolyGeo was probably on to something with the Esri Developer Network (EDN) subscription:



...your most cost effective (but still very expensive, for personal budgets) option may be the EDN.




However, like @PolyGeo suggested, the EDN license is cost prohibitive for personal budgets:



  • EDN costs between $2,500-$6,000 + tax (Canadian Dollar), depending on the options required (date: 2017).

  • The main options to consider are if a license of ArcGIS Desktop is required and if so which one: Basic, Standard and Advanced.

  • Annual subscription (must be paid yearly), it is for development purposes only, and is for one named user.

  • There is no home or personal use pricing option.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...