timlinux
3d7545ab26
Read user proj list from resructured qgis.db
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3293 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-02 11:13:40 +00:00
timlinux
f84909ff1b
Added logic so when a user clicks on a user defined srs, its proj string is shown in the text window. Cant test until qgis.db works for me too...
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3292 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-02 11:04:05 +00:00
timlinux
8abeec8884
Added logic to detect if a srsid is a user defined or system defined one.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3291 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-02 10:24:10 +00:00
gsherman
d99ecbe283
Keys in tbl_srs are autoincremented, starting at 100,000.
...
The schema for tbl_srs and vw_srs match those in the srs.db database.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3290 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-02 05:16:35 +00:00
timlinux
046ead21e1
Default projection to wgs84
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3289 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-01 22:57:01 +00:00
timlinux
120ea8c823
Aliased view output fields (this fixes problems with projection list not displaying in sqlite3 versions > 3.0)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3288 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-01 21:11:53 +00:00
timlinux
cf0b654fd2
Added a couple of debug lines so I can see why its not working on Garys pc.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3287 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-01 20:26:06 +00:00
larsl
cd27e860ef
Added the code for the georeferencer plugin to the main module - it is not hooked up to the build system yet
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3286 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-01 20:23:17 +00:00
timlinux
6f338d366a
Small bugfix where wkt is being used instead of srsid
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3285 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-01 09:54:22 +00:00
mhugent
5e9d457020
delete features before adding features in QgsVectorLayer::commitChanges (this may be useful in case of unique constrains in postgis tables
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3284 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-01 06:06:22 +00:00
timlinux
4d7a7d2b04
Converted project projection state handling to use qgis SRSID rather than WKT format.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3283 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-01 02:01:52 +00:00
gsherman
41574203f4
Win32 .pro files for qmake
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3282 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-01 00:15:20 +00:00
timlinux
fc65c5cbf5
Show human readable projection family names in proj selector. Speedups in proj selector (which populates very quickly now). Added view for proj selector to srs_db
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3281 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-30 12:49:00 +00:00
timlinux
60af0cde82
Updates for projection selecto - not properly returns proj strings and wired into to new tbl_srs table. I still need to make a view and bind it to the view rather than the table so I can show projection names in user freingly format. Other bug fixes and dethunking. Projection is working with ogr layers but I notice that projection projection setting is not persisting...will hunt that down....
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3280 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-30 12:27:02 +00:00
timlinux
7c2a4ff860
Populated projection_acronym and ellipsoid acronym fields by parsing them out from theproj4 parameters field
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3279 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-30 11:20:15 +00:00
timlinux
ec9a443f27
Added helper to proj selector to build sql to populate proj and ellps acronym fields in srs db (in progress). Removed unneeded postgis tables from srs.db.
...
XXX NOTE: Please hold off updating from CVS head for the next 24 hours if you can help it unless you intend to actively work on projection stuff! XXX
git-svn-id: http://svn.osgeo.org/qgis/trunk@3278 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-30 04:14:11 +00:00
timlinux
367ae6d3c0
Revived signal slot mechnsim between projection selector and coordinatetransforms. Made sure the transform is re-initialised if this slot is called. Projection is still pretty flakey but its getting nearer to being stable all the time. Please bear with me ... will just be another day or two I hope...
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3277 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-30 02:19:29 +00:00
timlinux
c36ae15f96
More projecton updates. Fixed some potential pointer corruption in qgscoordtransform
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3276 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-29 23:57:37 +00:00
mhugent
f909f19a4c
set attribute table modal if it is in editing mode. Like this, map canvas editing and attribute table editing should not disturb each other. Note that this breaks 3.1 compability (am i right that 3.1 compatibility is not needed any more?)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3275 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-29 19:10:45 +00:00
timlinux
77632f29c4
Projection updates. Still unstable. Work will continue this evening.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3274 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-29 16:58:54 +00:00
rabla
9cd68b1f6e
v.overlay, r.slope.aspect
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3273 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-29 14:31:55 +00:00
rabla
0d4c541008
typemask, type/layer option
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3272 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-29 14:22:28 +00:00
rabla
ac179856b0
grassLayer: GRASS layer number
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3271 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-29 14:21:46 +00:00
timlinux
8555ff0094
Further implementation of qgsspatialrefsys. Cascaded changes as appropriate to dependent classes
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3270 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-29 01:50:58 +00:00
timlinux
442dece25f
Replace big buttons with icon buttons. You can still navigate them with the keyboard, I added keyboard accels to them too and tooltips to show their function.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3263 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-28 13:21:17 +00:00
rabla
9f7df15654
width scale fix
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3262 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-28 13:17:12 +00:00
rabla
034a3bdab3
put labels on top
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3261 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-28 13:09:30 +00:00
timlinux
ca7f5a85f1
Icons for attribute table
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3260 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-28 12:56:50 +00:00
timlinux
20455fd03d
Added a validator to the qgsspatialrefsys that checks the state of the SRS and forces it into a valid state (as a last ditch it will set it to hard coded geocs:wgs84). Before doing that it will first follow the behaviour rules defined in Settings->prefs->projection. This will mean that providers no longer need to handl this and can simply try to set the srs then call validate() on it to make sure its in a valid state. Is valid also not properly checks if the srs is valid.
...
So you can do something like:
QgsCoordinateTransform * myCS = new QgsCoordinateTransform(srs,srs);
if (!myCS->getSourceSrs()->isValid()) myCs->getSourceSrs->validate();
And you can be sure that the srs will be set. This is not wired into vector or raster layer yet.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3258 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-28 11:28:42 +00:00
rabla
1c06e96406
open color dialog with current color; check ok/cancel
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3257 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-28 11:09:53 +00:00
timlinux
757da2375d
Prevent crashes caused by uninitialised qgscoordinatetransform
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3248 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-28 00:06:23 +00:00
g_j_m
ba19ab1337
moved scale bar menu into the decoration plugin menu
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3247 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 21:56:01 +00:00
g_j_m
93fe69708e
Bug fix: Plugin menu wasn't starting the plugin gui
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3246 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 21:37:48 +00:00
g_j_m
ed6bedf95c
Plugin gui code was being linked into the standalone version, resulting in
...
unresolved linker errors (problem exposed with the change in how the plugin
creates menus in qgis).
git-svn-id: http://svn.osgeo.org/qgis/trunk@3245 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 21:30:51 +00:00
g_j_m
37d84bb08a
Remove more of those pesky cvs ? warnings
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3244 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 21:07:41 +00:00
g_j_m
6133ee4118
Take a punt here - I don't think that this file should be in cvs (it's
...
automatically generated from the .ui file)
git-svn-id: http://svn.osgeo.org/qgis/trunk@3243 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 20:59:47 +00:00
g_j_m
6a7a5f2986
Changed to use the new way of setting up its entry in the plugin menu
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3242 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 19:58:58 +00:00
mhugent
12715c7657
fix for renderer names, which where inserted two times in QgsDlgVectorLayerProperties and fix for the round off bug in 'equal interval' classification mode
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3241 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 19:23:21 +00:00
timlinux
44ac5937fd
Remove changes inadvertantly committed wich force use of aclocal 1.8 and automake 1.8
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3240 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 14:49:37 +00:00
rabla
3fa02515de
number formating
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3239 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 14:37:44 +00:00
timlinux
04887a78ba
Added QgsSpatialRefSys to maplayer and dataprovider interfaces
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3238 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 12:59:40 +00:00
rabla
92cc893ba6
cross2 bunding box fix
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3237 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 12:18:07 +00:00
rabla
45376d2d0f
increment and total swaped, azimuth disabeled
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3236 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 09:28:50 +00:00
rabla
7052f2b36a
do not add new point if zoom is stoped, reset measure by right mouse button
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3235 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 09:27:24 +00:00
rabla
26baf704b3
buttons frame horizontal size policy fix
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3234 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 09:05:45 +00:00
rabla
fffe033dc2
menu removed
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3233 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 07:15:59 +00:00
g_j_m
ccae8d965a
Altered the way in which plugins add items to the plugin menu. Old way
...
still supported for the moment. New way allows different plugins to use the
same submenu (e.g. Decorations for copyright and north arrow)
git-svn-id: http://svn.osgeo.org/qgis/trunk@3232 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 05:21:34 +00:00
gsherman
469a54ec2a
Added icon for the custom projections menu pick
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3231 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 03:58:57 +00:00
gsherman
e3f1dd8721
Another ugly icon to invoke criticism and jeers from onlookers.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3230 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 03:58:02 +00:00
timlinux
50078cf4a9
Added logic for getting projection from epsg and qgis srsid codes. Fixed sql errors.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3229 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 01:17:30 +00:00