g_j_m
88eb798a8a
Bug fix for negative map units per pixel values causing a zero length scale bar.
...
Use the QGis::units enum names instead of integers
Cope with the new QGis::UNKNOWN units value
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3372 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-13 20:03:16 +00:00
rabla
5bdb63fa02
Qt bug fix for markers
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3371 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-13 15:40:26 +00:00
morb_au
bd562d0327
Fixed a potentially major memory leak in getNextFeature - CVS bug 1177788.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3370 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-13 06:00:49 +00:00
gsherman
6ba706be12
Updated agreement to the GPL exception
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3368 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-13 05:52:45 +00:00
gsherman
8c997142a2
Removed the QMessageBox::Question function to allow compilation (I think)
...
under Qt 3.1.2
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3367 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-13 04:25:29 +00:00
g_j_m
82809d8e13
Remove annoying old debug output
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3366 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-13 00:05:31 +00:00
g_j_m
f77ca813f3
Removed hard-coded #define QGISDEBUG
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3365 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-12 22:04:55 +00:00
g_j_m
841f6c9847
Tell cvs to ignore more files
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3364 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-12 21:28:06 +00:00
g_j_m
f6de2017ef
Change the map units to suit the current projection. Only works for
...
degrees and metres at the moment
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3363 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-12 18:56:37 +00:00
rabla
c8c2480523
buffer by Marko Sosic
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3358 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-12 16:10:25 +00:00
mhugent
42fc989ec1
added a button to create the spatial index in the vector layer properties (in the general tab). Currently, only the OGR provider supports this (version >=1.2.6)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3357 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-12 05:27:12 +00:00
g_j_m
eb3bc909c2
First go at setting the map units as per the projected cs (but not
...
fully functional)
Also move the units enum from QgsScaleCalculator to QGis. This required
changes in a number of files to cope with this.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3356 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-12 03:21:56 +00:00
g_j_m
e86c7ea9a9
Allow for map units of nautical miles
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3355 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-12 00:02:07 +00:00
g_j_m
f1b1f19540
Removed duplicate setting of map units and project title in the constructor
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3354 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-11 17:24:54 +00:00
g_j_m
6a7b0d4a35
Bug fix - some code was duplicated where it shouldn't of been
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3353 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-11 09:09:47 +00:00
g_j_m
1020657be1
Made the unit display a bit better (km, m, mm, foot, feet, degree, degrees)
...
A couple of formatting changes
Remove windows #ifdef that wasn't necessary (I hope :)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3352 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-11 08:29:32 +00:00
g_j_m
1b62206c8d
Give a sensible scale bar when the length is less than one map unit
...
Is actually more of a bug fix than a new feature :)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3351 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-11 07:54:25 +00:00
g_j_m
5e124696d4
tell cvs to ignore some more files
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3350 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-10 18:17:03 +00:00
timlinux
addcb6b89e
Dont truncate basename for files added with multiple . in the name
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3349 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-10 17:28:21 +00:00
larsl
40722bf55d
Fixed operator<<(ostream&, const QgsSpatialRefSys&) and made QgsSpatialRefSys(QString) explicit to avoid automatic casts leading to ambiguity
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3348 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-10 15:39:03 +00:00
rabla
75d96b46c5
fill arrow
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3347 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-10 15:21:59 +00:00
rabla
6d6ed1aeb5
new modules posted by Marko Sosic (mpinux@gmail.com)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3346 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-10 09:41:42 +00:00
rabla
47c9f9fedd
relative path, cut long title, manual
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3345 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-10 09:38:17 +00:00
g_j_m
17cca79972
more files for cvs to ignore
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3344 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-09 19:21:07 +00:00
g_j_m
3c07526a8e
Move to the new way of setting the plugin menu items
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3343 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-09 19:19:56 +00:00
g_j_m
5da8dd00e1
If qt is in a non-standard place, this script doesn't work - the
...
lrelease program should be in the path, so remove the full path to it
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3342 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-09 19:16:20 +00:00
timlinux
f59b4d291a
Added checks to use appropriate databases for either system or user srs db
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3341 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-08 22:27:22 +00:00
timlinux
04602bddd1
Escape sql before trying to execute it
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3340 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-08 20:53:02 +00:00
mhugent
e10e2a94cd
added a 'createSpatialIndex' function to QgsVectorDataProvider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3339 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-08 19:46:28 +00:00
timlinux
40510df986
fix small bug with updates for custom user projections.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3338 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-08 13:44:29 +00:00
timlinux
65afe32311
More enhancements to user projections dialog.
...
If no ellipsoid of proj keywords are added to parameters list, these are added using the selected combo entries.
If proj and ellps are set, and combos dont match, combos are updated accordingly.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3337 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-08 10:45:36 +00:00
mhugent
34e74af6d6
set tab focus to the ok button in QgsDlgVectorLayerProperties (bug 1195779), changed include in qgsprojectionselector such that qgis builds on my pc
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3336 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-08 05:52:55 +00:00
gsherman
a6afcbea35
Fix for compile error. Makefile.am is still not consistent with others.
...
WIN32 #ifdef has been temporarily removed.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3335 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-08 03:46:40 +00:00
timlinux
7e6f6c99e1
Small const fixes.
...
Parse proj string and set combos accordingly when save is pressed.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3334 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-08 01:20:02 +00:00
timlinux
2549afe4c1
Committed my 1.8 hack by mistake
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3333 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-07 20:31:18 +00:00
timlinux
0c35108367
Moved const declaratins into qgis.h
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3332 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-07 18:10:54 +00:00
gsherman
97feefe017
Added tooltips to the render and projector in the statusbar
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3331 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-07 16:17:39 +00:00
timlinux
8310ab19a0
Check that user defined proj parameters are valid before allowing them to be inserted into the qgis.db tbl_srs.
...
Check if this is the first user srs and if so ensure that its srs_id=10000
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3330 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-07 14:31:24 +00:00
timlinux
3f3f898450
Update custom projection dialog to use renamed and restructured qgis.db. Still under construction.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3329 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-07 12:41:19 +00:00
timlinux
88ff44cd05
Gui enhancements for search by srid or epsg
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3328 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-07 07:11:19 +00:00
gsherman
81ab40470b
Standardized rules to match those used elsewhere in qgis
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3327 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-07 06:07:36 +00:00
mhugent
3c9927a925
added a QgsOgrProvider::createSpatialIndex() method. This method creates a .qix index file for shape files. Note that there is currently no access from the GUI. If you already want to try this feature, just add a call to createSpatialIndex() to the constructor of QgsOgrProvider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3326 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-06 18:35:17 +00:00
timlinux
8f859294f7
Updates of qgis.db so that it increments in all versions of sqlite3.x
...
Note that because of issues relating to the pkey being reset to 0 if all records are deleted, I am going to write some logic into the custom projection builder to force the insert srs_id to 10000 if no records exist already. The user srs_id's must be >= 10000 to avoid conflicts with srs's defined in the system srs.db.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3325 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-06 11:57:37 +00:00
timlinux
d6edb2b7a6
Added options to search/select projections by srid and epsg (whihc in most cases are the same anyway).
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3324 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-06 02:31:35 +00:00
timlinux
708809bca7
Minor changes to comments
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3323 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-05 23:53:36 +00:00
timlinux
f1bba66ff1
Removed the 'nonsense' code radim commented out. Removed a new std::out debug line that was killing ghistogram gneeration performance.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3322 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-05 23:14:52 +00:00
mcoletti
88ad20356b
Restoring of broken QgsProject layers now also works for rasters.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3321 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-05 22:37:16 +00:00
mcoletti
0d4951cb98
version 0.6devel18
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3320 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-05 21:13:14 +00:00
mcoletti
3c0d88e42d
Makefile :
...
- added qgsexception.cpp
qgisapp.cpp :
- if reading a project file yields missing layers, now will prompt user for
new layer data source location [0]
qgsexception :
- added QgsProjectBadLayerException [1]
qgsproject :
- added new read that accepts QDomNode parameter [2]
Notes:
[0] Sadly this currently only works for vector layers with physical file data
sources. Raster support should be added next as well as for other storage
media types. (E.g., databases, URLs, etc.)
[1] Thrown when, of course, QgsProject::read() encounters a layer that cannot
be loaded.
[2] This is part of the mechanism by which qgisapp can re-ask the canonical
QgsProject instance to open the given layer represented by the QDomNode.
###
Also note that the directory path is remembered after the first bad layer
file dialog and is reused if there is more than one layer that needs to be
reloaded.
Bugs:
The new layer signal isn't emitted after layers are successfully
reloaded. Thus any plug-ins dependent on that signal will not be aware
that a project has been successfully loaded. Current workaround is to
reload the project after saving the corrected data source paths.
The visual map extent doesn't appear to be restored, though that may be a
by-product of ongoing projection implementation efforts.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3319 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-05 21:06:00 +00:00
rabla
2a6bffaa87
histogram fixed for PALETTE raster
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3318 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-05 14:52:41 +00:00