Posts

Showing posts with the label geodatabase

ArcGIS Online Tricks#2 Download ArcGIS Survey123 Photo/File Attachments

Image
How to download and export file or photo attachments from ArcGIS Survey123 Forms or Database Result Using ArcGIS Pro. Survey123 WebPage : https://survey123.arcgis.com/surveys Export Attachments.py : https://drive.google.com/file/d/1h4nRo-Ow1rcqhJUI5ZREblBTOG7Cgfld/view?usp=sharing 

How to Create Database View in PostgreSQL Enterprise Geodatabase

Image
Database View is one cool things about database management in DBMS. Using database view, you can deliver so many options of data publishing without messing up your database and messing up your tables structure. Database View is a common features that almost every database platform could have that features, includes here is spatial database (PostGIS, Oracle Spatial, or Enterprise Geodatabase).  If we talks about database view in Enterprise Geodatabase, it has all the features of enterprise geodatabase feature class. Database view in Enterprise Geodatabase is also directly linked with its parent tables. So any modification or updating in parent tables will also reflected in the database view. The database view itself is read only and only support reading/view.  Database View as I already told actually is one of the DBMS features regardless what kind of DBMS are used. If we see it in Enterprise Geodatabase Point of View, Database View when it is just created or imported, is not c...

Integrating SDE Enterprise Geodatabase and PostGIS under Same Database Part 2 PostGIS Configuration

Image
This post straight continuation from my previous post about Integration of Enterprise Geodatabase and PostGIS inside PostgreSQL Environment. The video tutorial can be viewed at the end of this post. In the video I demonstrate about how to configure PostGIS extension inside PostgreSQL enterprise geodatabase. The steps are little bit tricky so if you are not familiar with Enterprise Geodatabase and PostGIS, I suggest you to watch the Part 1 of the series. The configuration steps I show on the video must be done one by one following the order like I demonstrate on the video. On step missed will result in Geodatabase in not usable and PostGIS wont works like how it should.  I dont test these steps on other OS like Linux, but I guess it wont be much different. And please remember that you must see this trick as experimental because personally I also didnt evaluate its performance in actual production environment. 

Shapefile (SHP) or Geodatabase Feature Class to KML/KMZ Conversion in ArcGIS

Image
This video tutorial below may be wont interesting for some people, but I made this tutorial with a single goal, helping people that still learning GIS and have a requirement to use GIS data to be analyzed in Google Maps or Google Earth. KML/KMZ is a native format for Google Mapping Products. It can store vector as vector or vector as raster or raster as raster. It is very convenient, although it usage in context of pure geospatial data format is limited.  There are some strategic aspect about KML/KMZ usage. The most important things is you can host your geospatial data for free in Google MyMaps. You can made simple webmap that has basic webgis functionalities, powered by complete and strong basemap and online imagery basemap, and you can do multiuser editing. KML/KMZ data supporting multiuser although it is a file based data. So if you are interested to use this format, and your data is still on shapefile or geodatabase format, ArcGIS has the tool to convert it to KML/KMZ, and vide...

How to Open Personal Geodatabase in QGIS

Image
ArcGIS and QGIS are two giants of GIS Software in the modern era. Both of them are used by most of GIS experts around the world. They come with similar features but still there are some distinction about their capabilities. Take the Geospatial data format as the reference, ArcGIS has its own native geospatial data format called file geodatabase. File geodatabase is such a complete format that it is not only capable to store vector data, but it also can store raster data, topology, relationship table, geoprocessing tools, domain reference, custom coordinate system, you name it.  And now about QGIS, it is still a young player in GIS although it is been developed by Open Source Communities for more than 20 years. QGIS born as lightweight GIS software with very limited capabilities, but few years later, it is growth into a giant with a wide range capabilities to tackle complex GIS processing ranging from spatial analysis, database management, to raster simulation. Even there are some f...

Export Feature classes List to Excel Table

Image
Another video tutorial for ya'll

Multiuser Geodatabase Management chapter 2 (Multiuser Geodatabase Editing Behavior)

Image
Editing workflows pada multiuser/SDE geodatabase pada dasarnya ada dua jenis, yaitu NonVersioned dan Versioned editing. Non versioned editing merupakan worflow editing dimana perubahan atas data langsung disimpan di business table/atribut feature class. Workflow ini mirip mekanisme transaksi database pada umumnya. Perubahan pada data menggunakan skema non versioned langsung dapat dilihat oleh semua user yang mempunyai privileges untuk mengakses data tersebut. Sedangkan Versioned editing adalah workflow editing terisolasi, dimana seluruh perubahan yang dilakukan oleh seorang user tidak langsung disimpan ke dalam data, tetapi disimpan dalam sebuah delta table untuk direview sebelum data disimpan ke business table. Selain itu ada juga jenis Versioned editing yang memungkinkan untuk perubahan langsung disimpan di business table/atribut, workflow ini disebut workflow hybrid. Versioned/Non versioned editing hanya bisa dilakukan di level feature class dan feature dataset yang berisi data ve...

Multiuser Geodatabase Management, Theoretical Practices, ( only for Advanced ArcGIS user, :p )

Image
Manajemen multiuser geodatabase dalam sebuah sistem pekerjaan yang melibatkan data geospasial di lebih dari satu pengguna idealnya mengikuti workflow seperti gambar di bawah. Sumber gambar : ESRI 1. Create  Pembuatan geodabatase dalam lingkungan multiuser idealnya menggunakan SDE Geodatabase (bukan file atau personal geodatabase). Hal ini dikarenakan SDE geodatabase sudah mendukung akses dari lebih dari satu pengguna. SDE geodatabase tidak menggunakan format penyimpanan seperti file atau personal geodatabase tapi menggunakan RDBMS (relational database management system). Adanya RDBMS memungkinkan untuk dilakukan manajemen akses dan pengelolaan data, seperti misalnya siapa saja yang bisa mengakses data, bagaimana strategi pengamanan basis data, bagaimana metode input dan updating data, dll. DBMS yang sudah mendukung geodatabase antara lain Oracle, Microsoft SQL Server, Postgre SQL, dan ALTIBASE.  Hal penting yang harus dipertimbangkan dalam tahap ini antar...

SDE Geodatabase Archiving

Image
SDE geodatabase mempunyai fitur pengarsipan yang dapat digunakan untuk mengarsipkan dan membackup data dari waktu ke waktu. Here are the steps (testing dilakukan menggunakan DBMS Microsoft SQL server dan PostgreSQL) 1. SDE geodatabase harus dalam kondisi versioned dan Archive enabled (Proses enabling archive hanya dapat dilakukan oleh user yang mempunyai role minimal database administrator) 2. Lakukan multiuser/multiclient editing sampai waktu tertentu (harian, mingguan, bulanan dst) 3. Pada waktu akan dilakukan pengarsipan, lakukan disabling archive (lihat gambar diatas), akan muncul pilihan untuk menghapus delta table/archive feature class atau tidak (lihat gambar di bawah), pilih No, atau No to All. DBMS akan membuat delta table/archive feature class menjadi normal feature class dengan tambahan nama _h, _h1 _h2 dst. 4. Rename data archive tersebut, atau pindahkan ke storage yg aman, Tanggal pengarsipan dapat dilihat di data atribut dari feature class hasil archiv...

Membuat SDE Geodatabase Menggunakan Microsoft SQL Server Express 2012 pada ArcGIS 10.2

Image
Membuat SDE geodatabase memiliki banyak keuntungan dibanding hanya menggunakan file geodatabase atau personal geodatabase. SDE geodatabase memungkinkan kita untuk melakukan multi user editing alias editing data spasial pada waktu yang bersamaan oleh banyak user (baik melalui desktop client /arcmap maupun web client /arcgis viewer for flex/javascript/silverlight). Untuk membuat SDE geodatabase, kita memerlukan DBMS (database management system). Pilihan yang tersedia antara lain Microsoft SQL Server, PostGreSQL, informix, oracle, dan beberapa lainnya. Pada kesempatan kali ini, saya akan menjelaskan instalasi SDE geodatabase menggunakan Microsoft SQL Server 2012 Express dan ArcGIS 10.2 . Untuk lebih memahami konsep database server and client, idealnya percobaan ini dilakukan menggunakan dua komputer yang terhubung melalui jaringan. Satu komputer bertindak sebagai server, dan yang lain sebagai client. Tapi ini tidak harus, dengan satu komputer pun sudah bisa. Namun dalam percobaan in...

PENGGUNAAN ITERASI/LOOPING UNTUK GEOPROCESSING YANG LEBIH EFEKTIF DAN EFISIEN

Image
Ada contoh kasus, Katakanlah anda diharuskan memotong/clipping seluruh data yang tersimpan dalam sebuah geodatabase. Anda bisa saja melakukan proses clipping satu per satu menggunakan tool Clip di ArcToolbox, tapi jelas cara ini memerlukan waktu yang tidak sedikit. Ada cara lain, yaitu menggunakan batch command (di ArcToolbox klik kanan nama tool yang akan dipakai , lalu pilih batch), cara ini relatif lebih cepat, tapi memerlukan tahapan penspesifikasian parameter batching yang tentunya memerlukan waktu juga (tergantung jumlah data). Di ArcGIS 10, terdapat fungsionalitas yang disebut iteration/looping. Dokumentasinya dapat dilihat di webhelp ArcGIS dengan alamat ini . . Implementasi iteration dilakukan di model builder, sebagai contoh lihat diagram model tool Clip Workspace di bawah ini. Tool clip Workspace (diunduh dari alamat ini ) merupakan sebuah modelbuilder based tool yang fungsi utamanya adalah kemampuan melakukan clipping pada level workspace/feature dataset/folder. D...

Spatialite Sebagai Alternatif Personal/File Geodatabase

Image
Spatialite adalah sebuah ekstensi dari SQLite DBMS yang memungkinkan database SQLite menyimpan dan mengelola data spasial (Database spasial). Berbeda dengan PostGRE SQL/POSTGIS, SQLLite/Spatialite tidak dikembangkan dalam arsitektur Client-Server Database. Jadi file database bersifat kompak seperti database Microsoft Access (mdb) atau ESRI File Geodatabase (gdb).  Database ini cukup ringan dan sangat optimal untuk penyimpanan dan diseminasi data spasial yang ukurannya tidak terlalu besar, dan bisa menjadi alternatif untuk ESRI personal/file geodatabase, walaupun fitur yang ada tidak selengkap geodatabase.  Beberapa client software yang sudah mendukung SQLite/Spatialite antara lain QuantumGIS , dan MAPNIK.  Versi GUI dari Spatialite dapat diunduh dari alamat ini . Aplikasi ini dapat mengimport data Shapefile (shp) untuk dimasukkan ke dalam database SQlite, yang nanti dapat dipanggil dalam client software seperti Quantum GIS desktop dan Quantum GIS Client, atau...