haoliangyu / ares

[UNMAINTAINED] ArcMap Raster Edit Suite
Apache License 2.0
16 stars 12 forks source link

Pixels are not "selecatable" #20

Open Momut1 opened 7 years ago

Momut1 commented 7 years ago

First of all, thanks for this tool, I simply do not know why ESRI dont include it in the standard package. Indeed so many headaches would be easily solvable. Anyway, I can't seem to get it to work. It seems to be a general settings problem, as I can't select any pixel, whether for changes or viewing. I click on "Freehand paint" (in the raster painter toolbar) and it is selected, but doesn't hihglight any pixels. Same goes for the Raster Editor. Any fresh ideas as to why it might be exhibitting this type of behavior? Maybe I need to copy the .dll file somewhere in the Arc Installation folders?

In any occasion - mucho gracias!

Momo

haoliangyu commented 7 years ago

What's your version of ArcMap? This addon is pretty sensitive to the version of ArcObject and it is likely to create problems when the version number has major difference with 10.3.

Unfortunately, I am not working with ESRI products now and I have no access to ArcMap. So this project is no longer maintained. If you know how to do it, I would recommend to recompile the addon with the ArcObejct at your computer.

Sorry

Momut1 commented 7 years ago

Hey Yu,

I was going through the files you made available and within the separate folders for the different ArcGIS versions the ESRI Addin File for the version 10.1 (my version), upon closer inspection reveals itself to be for the 10.0 Version of ArcGIS. So the files are listed as follows:

ArcGIS 10.0 -> 10.0 ESRI Addin File ArcGIS 10.1 -> 10.0 ESRI Addin File !!! ArcGIS 10.2 -> 10.2 ESRI Addin File ArcGIS 10.3 -> 10.3 ESRI Addin File

Could you please send me the 10.1 ESRI addin file, as you seem to have neglected to put it in.

Thanks again!

Momo

Momut1 commented 7 years ago

Inside the folders you've uploaded here there is no version of your tool for ArcGIS 10.1. Inside the ArcGIS 10.1 folder the addin ESRI file is for the 10.0 Version of ArcGIS. Hence the request - could you please upload/send the 10.1 version? Thank you! Alternatively - which compiler did you use?

haoliangyu commented 7 years ago

@Momut1 I needs to set up the environment to compile the source code with ArcGIS 10.1. So please give me some time.

If you want to compile it yourself, you need Visual Studio (I used VS 2010 at that time) and ArcObject 10.1, which is included in the ArcGIS 10.1 installation package / disk. What you need to do is to download this repo, open the project (at master branch) with the Visual Studio, change the version number from 10.0 to 10.1 at two files (ARES.csproj and Config.esriaddinx), recompile the project and get the file at ares/ARES/bin/Debug. You may need to import some ESRI ArcObject libraries for compiling (listed at ARES.csproj).

Momut1 commented 7 years ago

Apologies, I meant no rush at all.

Inside the ArcGIS 10.1 Installation package/disk there are two files: the ARES.dll application extension and the ARES Esri addin file. Which one of these do you refer to as "ArcObject 10.1"? Because there is no such file in the folder...

Thank you for the time you are taking to help me!

haoliangyu commented 7 years ago

ArcObjects is an ESRI product that allows us to develop desktop GIS software.

Momut1 commented 7 years ago

Hello Yu,

I have some final things to ask of you information-wise in order to really make sure I've got a handle on things:

  1. You said you used VS to compile the tool, but is it necessary to use it now? I don't have the software on my computer and am wondering if I can use any other compiler. The second part of this question being - doesn't Arc itself come with a compiler, inside which you could compile the tool? But yeah - the question is - can I use whichever compiler I want or does it have to be the same one you used to do it in the first place?

  2. What language is the script written in? Python?

Thanks a lot for responding to me.

Warmest regards,

Momo

-------- Оригинално писмо --------

От: Haoliang Yu notifications@github.com

Относно: Re: [haoliangyu/ares] Pixels are not "selecatable" (#20)

До: haoliangyu/ares

Изпратено на: 23.05.2017 16:10

ArcObjects is an ESRI product that allows us to develop desktop GIS software.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub , or mute the thread .

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/haoliangyu/ares","title":"haoliangyu/ares","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/haoliangyu/ares"}},"updates":{"snippets":[{"icon":"PERSON","message":"@haoliangyu in #20: [ArcObjects](http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000002zs000000) is an ESRI product that allows us to develop desktop GIS software."}],"action":{"name":"View Issue","url":"https://github.com/haoliangyu/ares/issues/20#issuecomment-303392529"}}}
haoliangyu commented 7 years ago

@Momut1 This ArcMap add-in is developed in C#.

As for the compiler, this tool needs .Net Framework 4.0, which is shipped in the Visual Studio 2010, or later. This is the only way I know to compile an ArcMap add-in. But I have been away from Windows for a few years, I don't know how thing changes.