I think it might be more accurate to say that there is UTM coordinate / zone that best fits every point in LL84, but even that is not true at the zone boundary. In any case... I tried the following: - Create a grid (2DGridCreator) with a starting point of (-180,-90), two rows high, sixty columns wide, with each row being 90 high and each column being 60 wide. - For the North zones (row = 1), add 32601 to the column number (0-59) to derive the EPSG for UTM84 - For the South zones (row = 0), add 32701 to the column number (0-59) (either a Tester, or an ExpressionEvaluator "((@Value(_row) == 0)?32701:32601) + @Value(_column)" can be used) - Concatenate "EPSG:" with the value of the EPSG number. Then I tried running a couple points through a PointOnAreaOverlayer to assign the best-fit EPSG definition to the point, and referred to this variable by value (&_mySRS) in the AttributeReprojector. This failed miserably (it appeared to run, but the coordinates were wacky). It would be nice if there was a way of defining a non-homogeneous (per-feature) SRS in the AttributeReprojector. Jason ________________________________
From: [email protected] on behalf of mhabarta Sent: Sun 2006-10-01 6:07 AM To: [email protected] Subject: [fme] Re: Transforming LL84 to UTM Hallo Hans Thanks for your remarks ... To clarify my question: Of course KML needs LL84 in the coordinates, no change in that. But withing Google Earth you can choose to display the UTM coordinates instead of Lat Lon on the screen display (at least in the 4 Beta version from June 2006) What I do at placemarks is to prepare the Latitude/Longitude values as attributes of the placemark so they pop up as a HTML table, when I click on the placemark. In this HTML table I want to add the UTM values and calculate them via an AttributeReprojector. That's the background ... ... and in AttributeReprojector I need to specify a target coordsys. which is kind of superfluous for a LL84 -> UTM conversion, as this is clearly defined from the Lat/Lon value ... Hope this makes more clear where I am locked. Thanks for anyone who took the time reading this ... Michael --- In [email protected], Hans van der Maarel <[EMAIL PROTECTED]> wrote: > > Michael, > > > 1) define all missing UTM coordsystems (as there is only a selection > > available) I think in total that would be 360/6 is 60 coordsystems > > As far as I can tell, all UTM zones are available in different flavours. > Are you sure you're showing all coordsys groups? > > > Any easier solutions .... ? > > Stick with LL84 for export to Google Earth. That's the system you have > to use (unless they changed something recently, but I doubt they'd do > something as drastic as this...) > > Hope this helps. > -- > Hans van der Maarel > Red Geographics > www.redgeographics.com / [EMAIL PROTECTED] > Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/fme/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/fme/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
<<winmail.dat>>
