17 Commits

Author SHA1 Message Date
timlinux
f5e4f23ec2 Read user proj list from resructured qgis.db
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3293 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-02 11:13:40 +00:00
timlinux
92e78103d8 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/qgis@3292 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-02 11:04:05 +00:00
timlinux
2e342e8e66 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/qgis@3287 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-01 20:26:06 +00:00
timlinux
8407b9e39a Converted project projection state handling to use qgis SRSID rather than WKT format.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3283 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-01 02:01:52 +00:00
gsherman
830dbca9fe Win32 .pro files for qmake
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3282 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-01 00:15:20 +00:00
timlinux
200d7b73ad 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/qgis@3281 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-30 12:49:00 +00:00
timlinux
6ff668a071 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/qgis@3280 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-30 12:27:02 +00:00
timlinux
1b15b88f8f 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/qgis@3278 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-30 04:14:11 +00:00
timlinux
a7e0445b67 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/qgis@3258 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-28 11:28:42 +00:00
timlinux
d108b0b098 User projections now shown in projection selector but are still not useable
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3179 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-17 22:19:11 +00:00
g_j_m
ee5a8ef061 Remove those pesky ? cvs messages when doing an update
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3163 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-15 05:18:45 +00:00
telwertowski
2e99595690 Add HAVE_QTMAC conditional to configure. Use it to suppress compile-time
paths which cause errors when building with Qt/Mac which obtains paths
from qApp->applicationDirPath() at runtime.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3142 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 07:16:57 +00:00
gsherman
a05ea0293a Applied patches from Markus Neteler to allow compilation on Qt 3.1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3139 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-13 05:04:18 +00:00
gsherman
50d9c25814 Applied patches from Markus Neteler to allow compilation on Qt 3.2
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3128 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-11 23:35:07 +00:00
timlinux
906ef71810 Cleaned out some duplicate includes from widgets/projectionselector/qgsprojectionselector.cpp
Added initial start of user custom projection dialog (doesnt do anything much yet and not wired into gui yet)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3118 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-10 23:50:32 +00:00
timlinux
07a3b797f7 Fix windows ifdef
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3116 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-10 12:22:44 +00:00
gsherman
86c976272f ** Merged Projections_Branch into HEAD
Problems:
      Polygon outlines are not drawn. This was checked twice and no cause
      was found.

      Projections do not work in all circumstances

      Note that both the proj4 library and sqlite3 are now required. The
      build system has not been modified to test for these yet.

      Qt 3.3.x is required to build this source tree.

      Make sure to increment the EXTRA_VERSION in configure.in when
      committing changes.

      Make sure to update the Changelog with each commit


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3112 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-10 07:04:07 +00:00