Showing posts with label ArcGIS for Desktop. Show all posts
Showing posts with label ArcGIS for Desktop. Show all posts

Monday, December 18, 2017

All my GIS books $5 each (Holidays offer)

The annual $5 offer from Packt is here! Want to grab my GIS books? this is a good chance to do so. This is a great opportunity to learn boost your GIS knowledge.

Holiday offer link here: https://goo.gl/LwYh4y

Offer is until the beginning of 2018!


All my GIS books $5 !












Friday, November 17, 2017

ArcGIS Pro 2.x Series

You all probably know that IGeometry content been always on programming. Well, we are shacking things a bit. This is the first series of its kind in IGeometry where we just discuss software.

This series is about ArcGIS Pro 2.x

Enjoy, share it with your friends. Like and subscribe for more cool stuff.

stay awesome
-Hussein





Tuesday, June 6, 2017

ArcObjects By Example in C#

Want to learn ArcObjects? You came to the right place.

Ride with me in this YouTube series as we fix a broken telecom company called "Phonetech" (terrible name I know). Phonetech suffer from losing customers and weak phone reception. Despite their effort of adding new cell phone towers their service is not getting any better.

They came to us in IGeometry asking for help, they provide us with their data and problem and asked us to use GIS to solve this problem.

We are going to help them build a solution on top of ArcGIS using ArcObjects to efficiently place Towers to achieve maximum reception, plus we will do cool other things too!

We will start from scratch by describing the problem, slowly build the UML diagrams, ERD, build the geodatabase, the schema and write code to build the solutions on top of ArcGIS Desktop.

Enjoy

https://www.youtube.com/watch?v=nn4mtxdi19A&index=1&list=PLQnljOFTspQVMRyBp7UOt8pU7wygBmEja&t=25s

Github repo for the source code

https://github.com/hnasr/phonatech.git

Cheers!
Hussein

Saturday, June 3, 2017

ArcObjects - Discover Workspaces in Map

I think this is a very important piece of logic that any arcobjects developer need to learn. While working with a map there might be more than one workspace in the map, and to identify which workspace is the one the user is interested in working on is challenging.

You then can prompt the user which workspace he/she want to work with.



Enjoy!
Hussein

Saturday, April 22, 2017

ArcObjects - Creating Polygon Features

We learn how to create polygon feature using two approaches. Rubberband and point collections. 

Enjoy!




Friday, April 7, 2017

Inserting Bulk Features using ArcObjects into PostgreSQL Enterprise Geodatabase

In this episode we learn how to insert bulk of features into the geodatabase using buffering and insert cursor. The original method of using .store is good if you are planning to create few features and verify them, however it becomes slow when working with large number of features. So that is why we use this approach to insert bulk features. GitHub repo https://github.com/hnasr/IGeometry 




Tuesday, April 4, 2017

Set up a PostgreSQL Instance on Linux to work wth ArcGIS

Few weeks back we did an episode on how to configure PostgreSQL database on Windows machine to work with ArcGIS. It was popular I decided to do a similar one but on Linux. 

We discuss how to setup postgresql instance from scratch on Ubuntu 16.04.2 LTS, configure the instance to work with ArcGIS and then create an enterprise geodatabase from ArcGIS Desktop and finally we connect to the geodatabase.


Hope you guys enjoy it, link below.

Enjoy 
-Hussein

Saturday, April 1, 2017

Creating a button on ArcMap

In this video we discuss how to customize ArcMap to add our own button. When the button is clicked we will list all the layers in the active map.



Sunday, March 26, 2017

Set up a Postgres Instance to work with ArcGIS [Windows]


We discuss how to set up a postgres instance from scratch, configure the instance to work with ArcGIS and then create an enterprise geodatabase from ArcGIS Desktop and finally we connect to the geodatabase.






Thursday, March 23, 2017

Set up an ArcGIS Desktop Development Environment



In this video, we discuss how to setup an ArcGIS Desktop environment for development from scratch. We start with a clean 8.1 Windows machine and then we install the required software. These are the list of software required.



1. ArcGIS Desktop 10.4.1

2. Visual Studio Community 2015

3. ArcObjects SDK For Microsoft .NET Framework



Download ArcGIS for 60 days, details here:



http://www.husseinnasser.com/2016/04/arcobjects-sdk-available-for-download.html



Download Visual Studio 2015 Community

https://www.visualstudio.com/downloads/





Questions and comments are welcomed!



-Hussein Nasser














Friday, April 29, 2016

ArcObjects SDK available for download !

After years finally users can freely download and work with the ArcObjects SDK for both .NET and Java! Previously this was only available to partners and customers who request the bundle DVD.

Here are the steps.

1. Go to Arcgis.com
2. Register a trial 60 days account
3. Sign in and on the right you can have the link.

Now that you have ArcObjects SDK, go build cool solutions.

Don't forget we have two Youtube series on IGeometry discussing how to get started with ArcObjects. One with VB.NET and another with C# , more than 30+ hours of content.

Enjoy

Extending ArcObjects (VB,NET)

https://www.youtube.com/watch?v=XrZs1rwmOwg&list=PLQnljOFTspQXqYsWJG8o-eJpGlvzww9lE

ArcObjects by Example (C#)

https://www.youtube.com/watch?v=nn4mtxdi19A&list=PLQnljOFTspQVMRyBp7UOt8pU7wygBmEja&src_vid=XrZs1rwmOwg&feature=iv&annotation_id=annotation_401451585


Tuesday, November 3, 2015

ArcGIS Add-ins C# Series


We are back! 

Brand new episode, talking about ArcGIS for Desktop, customizations, describing the setup, Extending ArcObjects vs Add-ins and discussing what we are going to do in the coming episodes! 





Enjoy Guys
Stay Awesome! 

Sunday, September 27, 2015

ArcObjects by Example Book by Hussein Nasser





 Buy ArcGIS by Example


Last month I recorded a video on general channel and life update. In that video (or podcast) I mentioned that I'm working on a new book.

The book titled "ArcGIS By Example" has been successfully published. I would have named it ArcObjects by Example really, but the publisher suggested this name so.

The book is extremely useful for those who want to get started with programming with ArcGIS and do really cool stuff with ArcGIS that is not provided out of the box. It discusses how to develop using Add-ins and extending ArcObjects techniques. The beauty of this book is that it uses an example approach, which is a real life scenario project where you build a software to satisfy certain requirements. Not only that, you have 3 examples that you will never find anywhere on the net because simply I made them up. Unless the future version of me beat me to it and published it before I did?

You only need ArcGIS and ArcObjects SDK to work on the book and of course Visual studio express which is free. The book is written for ArcGIS 10.3.1 but you can work with ArcGIS 10.1 up 10.3.1 safely. The book has the list of software requirements too.

Since I'm a gamer, the book references some video games characters and location. Shoot me an email if you did figure them out with the page number :)

Thank you guys for buying my book! Enjoy it and check out my 200+ free video tutorials on IGeometry YouTube channel. 





Tuesday, December 16, 2014

ArcObjects Recycled Cursors

If you are new to ArcObjects, you must have seen this Boolean parameter when you want to create a search cursor. This might be confusing for some new developers. I didn't know about it in the beginning so I used to insert a false there every time.

Actually this very Boolean parameter can really ruin your entire application and produce unexpected results if used in the wrong context.

What is Recycling?
Recycling is reusing the same memory location for creating features or rows.


When to use Recycling?
Recycling cursor is much more efficient than non-recycling one. It is great for populating lists and printing values in the screen.

Here are some cases you want to use Recycling in
  • Populating Features' attributes in a list
  • Saving certain primitive features attributes (like objectid) in a collection

When not to use Recycling?
When capturing the feature or its geometry (or any other non-primitive reference) , DO NOT use Recycling cursor. If you did you will simply get the same feature (probably the last one) in all your collection because it is using the same memory location.

Here are some cases you must not use Recycling in
  • Union the geometry of all features in a given cursor
  • Saving the feature geometry in the Grid Tag or collections
  • Comparing features

I even made you a video guys!


Hope that helped!

Extending ArcObjects with .NEt (IGeometry) - 09 - Searching the Geodatabase

In this episode we talk about how to search restaurants by name, filter them on the map as we type in the name of the restaurant. 

Interfaces introduced in this episode: None

====
Previous episode with code 
http://www.youtube.com/watch?v=h7TYtS...

The Source Code as of the end of the Episode
https://www.dropbox.com/s/b1wdh57g342...


Enjoy



Sunday, December 14, 2014

Extending ArcObjects with .NET (IGeometry) - 08 - Flashing Geometry

This episode we will learn how to flash restaurants geometry on the map. We learn how to draw the point geometry on the screen and customize the pen to change the size and the color. The NOT XOR pen will allow you to draw over the same color which will make the color disappear simulating a flashing process.

Interfaces introduced in this episode: IGeometry, IRGBColor, ISymbol, IMarkerSymbol


Enjoy



Friday, December 12, 2014

Extending ArcObjects with .NET (IGeometry) - 07 - Selecting Features

In this short episode we learn how to interact with the map from our form. We will learn how to select a feature, clear existing selection and refresh the map so we can show the selection

Interfaces introduced in this episode: None

====
Previous episode with code 
http://www.youtube.com/watch?v=XT1LqH...

The Source Code as of the end of the Episode
https://www.dropbox.com/s/d8rhjgh1we4...



Wednesday, December 10, 2014

Extending ArcObjects with .NEt (IGeometry) - 06 - Object Oriented and GIS

First introduction of Object Oriented concepts with ArcObjects. We create the category and restaurant class to wrap the ArcObjects and populate them dynamically in drop down lists. We remove the hard code coded categories and replace them with a dynamic subtype auto fill. 

Interfaces introduced in this episode: ISubtypes and IEnumSubtype

====
Previous episode with code 
http://www.youtube.com/watch?v=saixbj...

The Source Code as of the end of the Episode
https://www.dropbox.com/s/uxva0bj8fph...

Enjoy


Monday, December 8, 2014

Extending ArcObjects with .NET (IGeometry) - 05 - Filtering Queries

his short episode introduces the concept of filtering queries. We talk and discuss the IQueryFilter and IFields interface. We do that by adding a new functionality to our Bestaurants application to filter restaurants by their category

Interfaces introduced in this episode: IFields, IQueryFilter

====
Previous episode with code 
http://www.youtube.com/watch?v=avbKHJ...

The Source Code as of the end of the Episode
https://www.dropbox.com/s/57wvn1hgbe9...

Enjoy



Saturday, December 6, 2014

Extending ArcObjects with .NET (IGeometry) - 04 - Querying Features

We fix the form-hiding-behind-arcmap problem by forcing the form to be the child of ArcMap. Also this is our first encounter with Feature Classes, Feature Cursor and yes Features. We will learn how to get the feature class, use it to query and get a feature cursor which will give us individual features to loop through. New Interfaces introduced in this episode, IFeatureClass, IFeatureCursor and IFeature 

Interfaces introduced in this episode: IFeatureClass, IFeatureCursor, IFeature 

====
Previous episode with code 
http://www.youtube.com/watch?v=QCpEKW...

The Source Code as of the end of the Episode
https://www.dropbox.com/s/yiggh6ky3aw...


Enjoy