Skip to content

Commit a0ddcfc

Browse files
author
Paul Meems
committed
Merge branch 'develop'
2 parents ff2eb22 + 7a09927 commit a0ddcfc

1,699 files changed

Lines changed: 675521 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
4+
# skip them
5+
src/SupportingLibraries/*
6+
7+
# User-specific files
8+
*.suo
9+
*.user
10+
*.sln.docstates
11+
12+
# Build results
13+
14+
[Dd]ebug/
15+
[Rr]elease/
16+
x64/
17+
build/
18+
[Bb]in/
19+
[Oo]bj/
20+
21+
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
22+
!packages/*/build/
23+
24+
# MSTest test Results
25+
[Tt]est[Rr]esult*/
26+
[Bb]uild[Ll]og.*
27+
28+
*_i.h
29+
*_i.c
30+
*_p.c
31+
*.ilk
32+
*.meta
33+
*.obj
34+
*.pch
35+
*.pdb
36+
*.pgc
37+
*.pgd
38+
*.rsp
39+
*.sbr
40+
*.tlb
41+
*.tli
42+
*.tlh
43+
*.tmp
44+
*.tmp_proj
45+
*.log
46+
*.vspscc
47+
*.vssscc
48+
.builds
49+
*.pidb
50+
*.log
51+
*.scc
52+
53+
# Visual C++ cache files
54+
ipch/
55+
*.aps
56+
*.ncb
57+
*.opensdf
58+
*.sdf
59+
*.cachefile
60+
61+
# Visual Studio profiler
62+
*.psess
63+
*.vsp
64+
*.vspx
65+
66+
# Guidance Automation Toolkit
67+
*.gpState
68+
69+
# ReSharper is a .NET coding add-in
70+
_ReSharper*/
71+
*.[Rr]e[Ss]harper
72+
73+
# TeamCity is a build add-in
74+
_TeamCity*
75+
76+
# DotCover is a Code Coverage Tool
77+
*.dotCover
78+
79+
# NCrunch
80+
*.ncrunch*
81+
.*crunch*.local.xml
82+
83+
# Installshield output folder
84+
[Ee]xpress/
85+
86+
# DocProject is a documentation generator add-in
87+
DocProject/buildhelp/
88+
DocProject/Help/*.HxT
89+
DocProject/Help/*.HxC
90+
DocProject/Help/*.hhc
91+
DocProject/Help/*.hhk
92+
DocProject/Help/*.hhp
93+
DocProject/Help/Html2
94+
DocProject/Help/html
95+
96+
# Click-Once directory
97+
publish/
98+
99+
# Publish Web Output
100+
*.Publish.xml
101+
102+
#Ghost doc
103+
*GhostDoc.xml
104+
105+
# NuGet Packages Directory
106+
demo/packages/
107+
108+
# Windows Azure Build Output
109+
csx
110+
*.build.csdef
111+
112+
# Windows Store app package directory
113+
AppPackages/
114+
115+
# Others
116+
sql/
117+
*.Cache
118+
ClientBin/
119+
[Ss]tyle[Cc]op.*
120+
~$*
121+
*~
122+
*.dbmdl
123+
*.[Pp]ublish.xml
124+
*.pfx
125+
*.publishsettings
126+
127+
# RIA/Silverlight projects
128+
Generated_Code/
129+
130+
# Backup & report files from converting an old project file to a newer
131+
# Visual Studio version. Backup files are not needed, because we have git ;-)
132+
_UpgradeReport_Files/
133+
Backup*/
134+
UpgradeLog*.XML
135+
UpgradeLog*.htm
136+
137+
# SQL Server files
138+
App_Data/*.mdf
139+
App_Data/*.ldf
140+
141+
142+
#LightSwitch generated files
143+
GeneratedArtifacts/
144+
_Pvt_Extensions/
145+
ModelManifest.xml
146+
147+
# =========================
148+
# Windows detritus
149+
# =========================
150+
151+
# Windows image file caches
152+
Thumbs.db
153+
ehthumbs.db
154+
155+
# Folder config file
156+
Desktop.ini
157+
158+
# Recycle Bin used on file shares
159+
$RECYCLE.BIN/
160+
161+
# Mac desktop service store files
162+
.DS_Store
163+
164+
# Custom
165+
*.dll
166+
support/GDAL_SDK/*
167+
docs/output

demo/MWLite.Core/AppCommand.cs

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
namespace MWLite.GUI.Classes
2+
{
3+
public enum AppCommand
4+
{
5+
None = 0,
6+
Open = 1,
7+
ZoomIn = 2,
8+
ZoomOut = 3,
9+
Pan = 4,
10+
Measure = 5,
11+
MeasureArea = 6,
12+
Select = 7,
13+
CloseProject = 8,
14+
SaveProject = 9,
15+
Identify = 10,
16+
RemoveLayer = 11,
17+
ZoomToLayer = 12,
18+
SetProjection = 13,
19+
AddVector = 14,
20+
AddRaster = 15,
21+
CreateLayer = 16,
22+
ZoomToSelected = 17,
23+
ClearSelection = 18,
24+
SaveProjectAs = 19,
25+
CloseApp = 20,
26+
LoadProject = 21,
27+
Search = 22,
28+
SelectByPolygon = 23,
29+
HighlightShapes =24,
30+
AddDatabase = 25,
31+
Snapshot = 26,
32+
}
33+
}

demo/MWLite.Core/Enums.cs

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
6+
namespace MWLite.Core
7+
{
8+
public enum ExtentType
9+
{
10+
Geogrpahic = 0,
11+
Projected = 1,
12+
Known = 2,
13+
}
14+
15+
public enum ProjectState
16+
{
17+
NotSaved = 0,
18+
HasChanges = 1,
19+
NoChanges = 2,
20+
Empty = 3,
21+
}
22+
23+
public enum LayerType
24+
{
25+
Vector = 0,
26+
Raster = 1,
27+
All = 2,
28+
}
29+
30+
public enum FileType
31+
{
32+
Project = 0,
33+
}
34+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
using System;
2+
using MapWinGIS;
3+
4+
namespace MWLite.Core.Events
5+
{
6+
public class NewExtentsEventArgs : EventArgs
7+
{
8+
public Extents GeographicExtents;
9+
public Extents ProjExtents;
10+
public tkKnownExtents KnownExtents;
11+
public ExtentType ExtentsType;
12+
13+
public bool Validate()
14+
{
15+
if (ExtentsType == ExtentType.Geogrpahic && GeographicExtents == null) return false;
16+
if (ExtentsType == ExtentType.Projected && ProjExtents == null) return false;
17+
return true;
18+
}
19+
}
20+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using System;
2+
using MapWinGIS;
3+
4+
namespace MWLite.Core.Events
5+
{
6+
public class OgrLayerArgs: EventArgs
7+
{
8+
public OgrLayer Layer;
9+
}
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using System;
2+
3+
namespace MWLite.Core.Events
4+
{
5+
public class SelectionChangedArgs: EventArgs
6+
{
7+
public int LayerHandle;
8+
public int SelectionCount;
9+
}
10+
}

0 commit comments

Comments
 (0)