Naiara S. Pinto | 6 Sep 19:47 2005
Picon

help with invproj

Hi folks,

I am a new user and I am trying to figure out how to use Invproj. Can
anyone give me one example? I am trying something like

invproj +proj=utm +datum=WGS84 281392 2056212

to get Lat Long coordinates from my UTM coordinates. But I get the error #2.

Thanks a lot!

Naiara.

--------------------------------------------
Naiara S. Pinto
Ecology, Evolution and Behavior
1 University Station A6700
Austin, TX, 78712

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

Eric Miller | 6 Sep 20:06 2005

Re: help with invproj

Coordinates are read from standard input, not the command line.  Also,
you should specify +ellips instead of +datum since proj/invproj don't
know about datums.  Also, UTM generally has a zone and a south flag if
necessary (proj doesn't know about/use grid zones like 10T).  

$> proj -I +proj=utm +ellips=nad83 +zone=11
281392 2056212
119d4'17.752"W  18d35'7.379"N
^Z

>>> naiara <at> mail.utexas.edu 09/06/05 10:47 AM >>>
Hi folks,

I am a new user and I am trying to figure out how to use Invproj. Can
anyone give me one example? I am trying something like

invproj +proj=utm +datum=WGS84 281392 2056212

to get Lat Long coordinates from my UTM coordinates. But I get the
error #2.

Thanks a lot!

Naiara.

--------------------------------------------
Naiara S. Pinto
Ecology, Evolution and Behavior
1 University Station A6700
Austin, TX, 78712
(Continue reading)

pw | 6 Sep 20:10 2005
Picon

Re: help with invproj

Naiara S. Pinto wrote:
> Hi folks,
> 
> I am a new user and I am trying to figure out how to use Invproj. Can
> anyone give me one example? I am trying something like
> 
> invproj +proj=utm +datum=WGS84 281392 2056212
> 
> to get Lat Long coordinates from my UTM coordinates. But I get the error #2.
> 
> Thanks a lot!
> 
> Naiara.
> 

Perhaps try one of the following:

echo "281392 2056212" | proj -I +proj=utm +ellps=WGS84 +zone=23

Or:

proj -I +proj=utm +ellps=WGS84 +zone=23  some_file_name.txt

You should change the value of +zone to the utm zone that is
relevant to your coordinates. I just put 23 in as an example.

Best Regards,

Peter G. Willis

(Continue reading)

Luca Casagrande | 13 Sep 13:18 2005
Picon

Problem converting from WGS84 to ROME40

Hi to all guys!
I need to convert from WGS84 to ROME40 a point on te Peninsula part of
Italy; surfing through doc, i compose this line:

cs2cs -vErs +proj=latlong +datum=WGS84   +to +proj=latlong +ellps=intl 
+towgs84=-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68 \punto

Punto is:
43d07'08.7045"N 12d21'17.6455"E 341,964

And the ouput of that line is:

43d07'08.7045"N 12d21'17.6455"E 341     43d7'6.341"N    12d21'18.369"E
295.341

I know for sure that real coordinates are:  43d7'06.3"N    -0d05'50.00"E
292,605 ( the longituide in Roma40, start from Monte Mario wich is
012° 27'    08,4" Est)

What i am missing?
Thx
Luca Casagrande

--

-- 

Nel 1969, 2 commodore 64 sono riusciti a far andare l'uomo sulla Luna...
oggi, nel 2005, un Athlon XP 3500+ fa fatica a far girare Windows XP!!!
Come si suol dire...

Utente Linux 373965
(Continue reading)

Dave Sampson | 13 Sep 18:44 2005
Picon

reprojection of sites within SHP file to standard output

Hey yall,

Been a while since I've posed a question so thought I'd reer the ugly 
head again.

What I am tryin to do is start by using a SHP file with close to 15000 
points. The shp file is suposedly nad27. for each point I would like to 
extract the nad27 co-ordinates of each site, reproject them to nad83, 
and DDMMSS and DDMM.SS to an output file.

the final goal is to have a CSV file that can be imported into a silly 
proprietary dabase. the CSV would look something like

SITEID, NAD27, NAD83, LAT/LONG, DDMMSS, DDMM.SS

I think that's right... projections still confuse this geographer from 
time to time.

I'm not sure if maybe you'd need a NAD27E, NAD27W format.

any ideas? Or resources towards examples of this procedure?

cheers

--

-- 
+---------------------------------------------------------------+
|Dave Sampson: Geographic Information System (GIS) Technician	|
|								|
|Centre for Sustainable Watersheds				|
|Cooperative Approaches to Protect Canada's Water Resources	|
(Continue reading)

pw | 13 Sep 19:59 2005
Picon

Re: reprojection of sites within SHP file to standard output

Hello,

Can this actually be done with proj...?(Didn't think so)
SHP files are ~proprietary to arcview GIS. There is a
format spec available on the web.

I have an arcview script for dumping coordinates
from SHP files to ascii text, if that helps. I believe it also
dumps one attribute as well, allowing you to link
the geographic data with the data in the accompanying
DBF file. In any case you could modify the script to
dump what ever you want.

Peter

Dave Sampson wrote:
> Hey yall,
> 
> Been a while since I've posed a question so thought I'd reer the ugly 
> head again.
> 
> What I am tryin to do is start by using a SHP file with close to 15000 
> points. The shp file is suposedly nad27. for each point I would like to 
> extract the nad27 co-ordinates of each site, reproject them to nad83, 
> and DDMMSS and DDMM.SS to an output file.
> 
> the final goal is to have a CSV file that can be imported into a silly 
> proprietary dabase. the CSV would look something like
> 
> SITEID, NAD27, NAD83, LAT/LONG, DDMMSS, DDMM.SS
(Continue reading)

Dave Sampson | 13 Sep 20:26 2005
Picon

Re: reprojection of sites within SHP file to standard output

pw,

I seem to remember reprojecting SHP files before. PROJ was even creating 
a new PRJ file for me. I thought that if Proj can reproject a whole 
shape file that it might be able to do components thereof.  The script 
you speak of, is it an avenue script?  ANy open source solutions as I am 
avoid running arcview. proof of concept.

cheers

> Hello,
>
> Can this actually be done with proj...?(Didn't think so)
> SHP files are ~proprietary to arcview GIS. There is a
> format spec available on the web.
>
> I have an arcview script for dumping coordinates
> from SHP files to ascii text, if that helps. I believe it also
> dumps one attribute as well, allowing you to link
> the geographic data with the data in the accompanying
> DBF file. In any case you could modify the script to
> dump what ever you want.
>

--

-- 
+---------------------------------------------------------------+
|Dave Sampson: Geographic Information System (GIS) Technician	|
|								|
|Centre for Sustainable Watersheds				|
|Cooperative Approaches to Protect Canada's Water Resources	|
(Continue reading)

Eric Miller | 13 Sep 21:46 2005

Re: reprojection of sites within SHP file to standard output

I think you might be thinking of a contrib program distributed with
Frank's Shapelib.  It depends on proj.4 libraries (and associated datum
files).
See "shpproj.c" in the contrib directory:
http://shapelib.maptools.org/

>>> gis <at> watersheds.ca 09/13/05 11:26 AM >>>
pw,

I seem to remember reprojecting SHP files before. PROJ was even
creating 
a new PRJ file for me. I thought that if Proj can reproject a whole 
shape file that it might be able to do components thereof.  The script

you speak of, is it an avenue script?  ANy open source solutions as I
am 
avoid running arcview. proof of concept.

cheers

> Hello,
>
> Can this actually be done with proj...?(Didn't think so)
> SHP files are ~proprietary to arcview GIS. There is a
> format spec available on the web.
>
> I have an arcview script for dumping coordinates
> from SHP files to ascii text, if that helps. I believe it also
> dumps one attribute as well, allowing you to link
> the geographic data with the data in the accompanying
(Continue reading)

Bruce Raup | 13 Sep 21:50 2005
Picon

Re: reprojection of sites within SHP file to standard output

Shapelib has a contributed utility "shpproj" which can do this.  --Bruce

2005/9/13, Dave Sampson <gis <at> watersheds.ca>:
> pw,
> 
> I seem to remember reprojecting SHP files before. PROJ was even creating
> a new PRJ file for me. I thought that if Proj can reproject a whole
> shape file that it might be able to do components thereof.  The script
> you speak of, is it an avenue script?  ANy open source solutions as I am
> avoid running arcview. proof of concept.
> 
> cheers
> 
> > Hello,
> >
> > Can this actually be done with proj...?(Didn't think so)
> > SHP files are ~proprietary to arcview GIS. There is a
> > format spec available on the web.
> >
> > I have an arcview script for dumping coordinates
> > from SHP files to ascii text, if that helps. I believe it also
> > dumps one attribute as well, allowing you to link
> > the geographic data with the data in the accompanying
> > DBF file. In any case you could modify the script to
> > dump what ever you want.
> >
> 
> 
> --
> +---------------------------------------------------------------+
(Continue reading)

pw | 13 Sep 22:26 2005
Picon

Re: reprojection of sites within SHP file to standard output

Dave Sampson wrote:
> pw,
> 
> I seem to remember reprojecting SHP files before. PROJ was even creating 
> a new PRJ file for me. I thought that if Proj can reproject a whole 
> shape file that it might be able to do components thereof.  The script 
> you speak of, is it an avenue script?  ANy open source solutions as I am 
> avoid running arcview. proof of concept.
> 
> cheers
> 

Hello,

Interesting. I wasn't aware of the SHP capabilities.
I guess they must not be covered in the docs...
I just tried proj on a known shp file and just got
garbage. Let me know if you find the proper instructions
for this.

Yes, the script I have is written in avenue.
You can find it online by googling

arcview shp2ascii

I was writing some C++ source code to
extract SHP/SHX/DBF files into  various other
formats as well, but that's far from
finished.

(Continue reading)


Gmane