Wang Leslie | 25 May 00:30 2016
Picon

which Cylindrical projection has smallest area

Dear all,


https://en.wikipedia.org/wiki/List_of_map_projections#Table_of_projections lists so many different Cylindrical projection. I guess different projection should generate different dimensions. If yes, can you please tell me which one has smallest area (width multiply height)? And also how about 1) Guyou hemisphere-in-a-square projection; 2) Adams hemisphere-in-a-square projection; 3) Eckert II, which are not Cylindrical projection, but still have polygon shape. 


Best Regards

Leslie

_______________________________________________
Proj mailing list
Proj <at> lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj
Even Rouault | 24 May 00:49 2016

Performance impact of switch of utm to etmerc

Hi,

I've given a try with proj master with GDAL, and wanted to assess the 
performance impact of utm now using etmerc instead of tmerc.

Given a in.tif raster of 5000x5000 pixels in EPSG:3857, I did :

$ time gdalwarp in.tif out.tif  -t_srs EPSG:32611 -overwrite -et 0 -q

This runs in 18.1 s. With proj 4.9.2, the same runs in 13.6 s

EPSG:32611 is resolved by GDAL as "+proj=utm +zone=11 +ellps=WGS84 +units=m 
+no_defs"

I added explicitly -et 0 so that the exact transformer of GDAL is used, 
meaning that 5042x5019 inverse projections will be done (number of pixels of 
output dataset). By default GDAL would use an approximate linear interpolation 
transformer leading to very few transformations, and the time spent in proj is 
then almost neglectable. But with -et 0, reprojection work becomes really 
significant. It should be noted that -et 0 is the default if doing RPC 
transformation with a DEM since GDAL 2.1.0 (since DEM have no nice regularity, 
an approximate interpolator can do really bad guesses in mountain areas), and 
this will probably the use case mostly affected by this.

To come back to previous performance, I've added in GDAL the possibility to 
define the OSR_USE_ETMERC=NO configuration option/environment variable so that 
"+proj=utm" is expanded to the appropriate "+proj=tmerc ...."

Best regards,

Even

--

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
Proj mailing list
Proj <at> lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj

Wang Leslie | 23 May 16:31 2016
Picon

convert from Equidistant Cylindrical to Eckert I

Dear all,


I'm new to this tool, and hope to get some advise here.

I'm thinking to use your tool to convert a map picture which is based on Equidistant Cylindrical, to another picture based on Eckert I. Since both of them are 2 dimension only (x,y), what I'm gonna to do is:
 - Use proj command to calculate the new mapped coordinate (x1, y1)
 - Set new pixel value at (x1, y1) using original pixel value (x,y)
 - loop for all pixel at original Equidistant Cylindrical picture

So can you please help me confirm if one idea can work or not? If yes, what should command line look like? Thanks.

Best Regards
Leslie Qi Wang
_______________________________________________
Proj mailing list
Proj <at> lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj
Thomas Knudsen | 20 May 19:48 2016
Picon

Re: Motion: add Kristian Evers and Thomas Knudsen to the Proj.4 team

Janne,


First, I strongly object to being characterized as a “random rewriter”.


I have used proj since 1993, did my first (tiny) contribution to the code base in 1999, and I facilitated the inclusion of the etmerc, high precision transverse mercator code written by my colleague Karsten Engsager, in 2008.


It is correct that I have not touched the code base since then, but that does not turn me into a “random rewriter”.


Also, I described my intended work, and asked for comments and opinions on the proj mailing list more than a month ago. It attracted one comment, which was very much in favor of the work. It did not attract any comments from you.


Also, the pull request has been open since the beginning of april. Howard Butler, Even Rouault, and Micah Cochran have commented and given constructive criticism. I have seen no comments from you.


So all in all, you have had plenty of time to air your opinion. It would have been very helpful if you had done it a bit earlier than 2 months into the process. As a long term proj-list member, I know that you are a frequent and very helpful list contributor, so I have great respect for your experience and willingness to share it, and I believe you could have been a very helpful commenter and mentor for this work.



Second: In general I agree with your opinion of “not touching what works”.


However, what “works” is not easily definable - especially not in the long term.


Kristian Evers and I have turned to proj after having spent time updating trlib, the transformation system of the Danish national mapping agency (now SDFE, formerly GST, formerly KMS, formerly GI).


trlib originated as Algol code written around 1961, for the GIER system (a, for that time, medium sized computer, which was highly optimized for geodetic computations). The code survived and evolved through more than 5 decades following what was “current best practice” all along.


And the one “best practice” that has been prevalent through all these decades has been exactly the one you forward here.


The problem is that, while commendable for the medium term, for the long term “not touching what works” leads to kludge-upon-kludge, from bolting on additional functionality, while not touching existing code.


In the long term, the “not touching what works” dogma (NTWW in the following) leads to stale and unmaintainable code.


As an example, for trlib, one of the things we have removed during the last few years of code revision, is a complete user-space Virtual Menory mangagement system. It was evidently needed when added to the code around 1970, and left in due to NTWW when the code was migrated from Algol to C around 1980. And kept ever since, due to NTWW.


So our experience is very much that NTWW should be challenged now and then. Things change, and so do the hardware platforms the code is supposed to run on.


The proj.4 macro system reflects a development environment of Tektronix style, green phosphor 24x80 terminals, where saving vertical whitespace directly translated into a better general view, by having more context on screen at a time.


This is not the problem for modern coding tools on modern high-resolution displays. In today’s coding environment the proj internal macro system is a high barrier for entry: It makes it extremely hard for new coders to get productive.


If you look at the commit history, you will notice that new people enter the project in order to contribute one or two new projectione that they need.


They do not stay to help evolving proj further. I hypothesize that this is at least partially because the macro system is convoluted and not at all C-like (e.g. leading to syntax highlighter blues).


My intention was to make the code less impenetrable, in order to make it more welcoming to new contributors. As you will see when you study the code, this has been done without touching the algorithmic flow. The procedure has been designed to enhance the clarity for human readers - not to touch the flow.


I suggest you read the description “A verbose justification for some highly intrusive code surgery” I wrote at the very beginning of this work, over at https://github.com/busstoptaktik/proj.4/blob/sdfe-refactor-macros--and-repair-generic-constructor-bug/src/PJ_minimal.c. Hopefully you will see that I have no intentions to break what works - but at medium time scale intervals, changing what works is necessary in order to keep things in shape.


regards

Thomas


_______________________________________________
Proj mailing list
Proj <at> lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj
Howard Butler | 20 May 15:50 2016
Picon

Motion: add Kristian Evers and Thomas Knudsen to the Proj.4 team

All,

I propose to add Thomas Knudsen and Kristian Evers to the Proj.4 team with commit rights into the
OSGeo/Proj.4 repository. They have been leading a modernization effort in the Proj.4 package to improve
maintainability, reduce redundancy, and increase test coverage. Thomas has also been a long time Proj.4
list member, and he has provided a lot of experience and guidance on a number of coordinate system and
projection topics. Both have been software contributors in a project that has been lacking them, and
giving them full access will make it more convenient for them to contribute.

I'll start with a +1.

Howard
_______________________________________________
Proj mailing list
Proj <at> lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj

Finn, Michael | 19 May 17:06 2016
Picon

Call for Lightning Talks -- Workshop of Open Source Geospatial Technologies

Call for Lightning Talks


Workshop of Open Source Geospatial Technologies

 

At AutoCarto 2016, Albuquerque, New Mexico, USA

14 September 2016

 

The ICA Commission on Open Source Geospatial Technologies is holding a one-day workshop on “Advancing GIScience with Open Source Technologies.” AutoCarto 2016 will be held in Albuquerque, New Mexico, USA, 14 – 16 September 2016 (http://tinyurl.com/p7bpfhp).

 

This workshop at AutoCarto 2016 is a follow-on to the successful AutoCarto 2012 workshop on "The Internet and Geospatial Technologies,” (Columbus, Ohio).  AutoCarto is a Cartography and Geographic Information Society (CaGIS) research symposium held every two years. CaGIS is the US adhering body to the International Cartographic Association (ICA).

 

In the morning, invited speakers will give presentations on the workshop topic. In the afternoon, we will have a series of lightning talks. These talks will quickly and broadly introduce recent trends and identify future research possibilities in the rapidly expanding domain of open source technologies in the GIScience domain. Further, these talks will identify existing and new researchers and practitioners in the field and open up new collaboration opportunities. Ultimately, these talks and the workshop, as a whole, will provide attendees (and their research or development teams) with a platform for discussing the dramatically changing open source landscape.

 

 

Please provide a proposed talk title (and, if you would like, an expanding sentence or two) and your contact information to:

 

Michael P. Finn

U. S. Geological Survey

Vice-Chair, ICA Commission on Open Source Geospatial Technologies

mfinn <at> usgs.gov

 

 Important Dates:

Proposed Talk Title Submission: 20 June 2016

Acceptance Decision Notification to Submitters: 15 July 2016

Early Registration Deadline: 01 August 2016

Registration: http://tinyurl.com/zl8dadg

n  Note: Attendees must be registered for AutoCarto 2016. There is no separate or addition fee for the workshop

Lightning Talks: 14 September 2016

 

 

_______________________________________________
Proj mailing list
Proj <at> lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj
Howard Butler | 19 May 16:12 2016
Picon

MACRO modernization

All,

I just wanted to make you aware of the significant effort that Thomas Knudsen and Kristian Evers have put in
to modernize Proj.4's macros and codebase. Along the way, they've increased the code coverage 42%!

Three cheers to them!

https://github.com/OSGeo/proj.4/pull/373

Howard
_______________________________________________
Proj mailing list
Proj <at> lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj

Matteo Pasquini | 19 May 09:12 2016

help

 

 

Matteo Pasquini
OPS - Production Agent

Skype : Pasquini.Matteo

Mobile: 331-595-8761

 

                 

 

_______________________________________________
Proj mailing list
Proj <at> lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj
Dean Schulze | 16 May 19:24 2016

Using invproj to get back the inputs to proj

Following the example in the man page if I do 

    proj +proj=utm +lon_0=112w +ellps=clrk66 -r man.page.lat.lon.txt

where the file man.page.lat.lon.txt contains 

    45d15'33.1"   111.5W
    45d15.551666667N   -111d30
    +45.25919444444    111d30'000w

I get the 3 lines of output shown in the man page:

   460769.27	5011648.45
   460769.27	5011648.45
   460769.27	5011648.45

So far, so good.  But when I try to use invproj to get back the original inputs the results are not even close to
the inputs:

    proj +proj=utm +lon_0=112w +ellps=clrk66 -r man.page.lat.lon.txt | invproj +proj=utm +lon_0=112w
+ellps=clrk66 -r

gives

    73d25'28.89"W	3d18'2.678"N
    73d25'28.89"W	3d18'2.678"N
    73d25'28.89"W	3d18'2.678"N

What is invproj giving me?  How do I run invproj to get back my original inputs?  

Apparently invproj doesn't use command line parameters the same way that proj does.  Is this documented
somewhere?  I've read the 3 .pdfs provides as users manuals, but they say nothing about how to use invproj to
get back the original inputs.

Thanks.
_______________________________________________
Proj mailing list
Proj <at> lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj

Dean Schulze | 10 May 00:41 2016

Running the cities example in the pdf documents gives different results


I ran the cities example using the inputs on pg. 4 of the docs at
ftp://ftp.remotesensing.org/proj/OF90-284.pdf, but I got different results than shown.  Here are the
results I got:

$ proj +proj=poly -r cities.lat.lon.txt 
# coordinates for a few cities
-4887445.45	7318110.56 Boston, United States
-5542376.59	6982834.25 New York, United States
171219.46	5415571.82 Paris, France
485343.33	5730932.66’w London, England

The document linked above shows this:

$ proj +proj=poly -r cities
# coordinates for a few cities
-4887590.49 7317961.48 Boston, United States
-5542524.55 6982689.05 New York, United States
171224.94 5415352.81 Paris, France
-8101.66 5707500.23 London, England

Am I doing something wrong, or did something change from when the document was written?

Thanks.
_______________________________________________
Proj mailing list
Proj <at> lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj

Victor Wiedemann | 4 May 00:42 2016

FW: Convert from WGS84 (Lat, Lon) to other geodetic datums (Lat, Lon) and vice versa

 

After looking through the code for PROJ.4, I haven’t seen any basic conversion commands, but I am sure there is something already written for this. If this is already made could someone point me in the right direction. If not, any ideas on how to do this?

 

Thank you,

 

Victor

_______________________________________________
Proj mailing list
Proj <at> lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj

Gmane