{excerpt}
1: Long pathnames make checkout impossible on Windows
2: thanks to martin for the "x" axis alias fix
3: Projection issues
{excerpt}
aaime: 1) Long pathnames make checkout impossible on Windows
aaime: As some of you may have noticed
aaime: depending on where you try to check out geotools trunk
aaime: it may be impossible to complete a full checkout under windows
aaime: (I know because I can't do it)
aaime: turns out that it's a limitation of svn on windows
aaime: cannot handle paths longer than 255 characters
aaime: and with the community schema stuff in unsupported
aaime: we get very close to it
aaime: so my default checkout point ("c:/progetti/geotools/trunk") pushes me
beyond 255
aaime: and svn goes bye bye
aaime: We obviosly cannot avoid fully the issue
aaime: but trying to avoid pathnames longer than 200 chars within the gt2
source tree would be a nice start
aaime: Comments, opinions?
sfarber_: hmm...any chance the SVN client on windows has a work-around in
development or anything?
chorner: 200 chars sounds reasonable
aaime: Nope, because it's the windows code itself that is not able to handle
relative pathnames with more than 200 chars
aaime: the internal windows API has a hard buffer limit
sfarber_: I see.
aaime: (stupid, crazy, whatever, but it's there)
aaime: So stupid that apparenlty svn developers refuse to do a platform
specific workaround
aaime: besides that, only a java source tree can get to such lengths usually
sfarber_: Reasonable limitation or not, I guess that means that we need to
restrict ourselves to 200 character paths.
aaime: Yep, and we should add a warning in the developers guide too (to tell
people avoid checking out in c.\these\are\my\open\source\projects)
desruisseaux: What about trying to do "cd trunk/modules/unsupported/..." up to
the parent directory of the faulty directory, and "svn update" from that point?
Relative path should be shorter from that point, no?
aaime: Nope, tried, does not work
desruisseaux: Ah...
aaime: the only way for me to check out is to do that under c:\temp, or another
short path
desruisseaux: So the limit is more on absolute path than relative path
apparently.
aaime: Well, they say they do use the relative path api, but apparently with
relative paths that go up to the fs root... don't really know
aaime: absolute path are limited to 32k chars under windows
aaime: http://svn.haxx.se/users/archive-2005-02/1088.shtml
desruisseaux: Can we replace "comunity-schema" by a shorter name?
aaime: Yeah, Gabriel will hopefully refactor names to have shorter paths
aaime: but in fact the long part is not there
aaime: see the stuff I'm having troubles with:
aaime:
community-schemas\community-schema-ds\src\test\resources\org\geotools\data\complex\test-data\commonSchemas\www.seegrid.csiro.au\xsd\geosciml\.svn\tmp\text-base\bgs_MappedFeature-1_mappingFromDigMap.xml.svn-base
aaime: Anyways, does this require a vote? Guess not, since it's a hard limit?
(either work around this, or say we don't support development under windows...)
aaime: Seems not
aaime: Next topic then:
aaime: 2) thanks to martin for the "x" axis alias fix
aaime: sfarber_, this is yours?
sfarber_: yeah, it's ashort one. Thanks for the quick fix martin. That's all.
aaime: Ha ha, very quick
desruisseaux: Not much to said; you are welcome but I believe that it is not
suffisient for fixing the issue raised by Saul
sfarber_: Indeed, could be, but we'll cross the next bridge when we come to it.
desruisseaux: I will open a JIRA task tomorrow
desruisseaux: (but I will not be able to work on it in short term...)
sfarber_: For the switched parameter order, or for the
MathTransform.isIdentical() method that you mentioned in your email?
desruisseaux: They are related. The 'isEquivalent(...)' method is a proposal
for comparing CRS (in the sense of equalsIgnoreMetadata) despite the switched
parameter order.
sfarber_: Understood.
desruisseaux: Next item?
aaime: 3) Projection issues
aaime: simboss, this is yours
simboss: I have a simple request
simboss: since I might want to add a couplf od projections
simboss: I know there are tutorial
simboss: and how-tos
simboss: all I am asking
simboss: is some direction (from martin :-) )
simboss: about which ones to read
desruisseaux: The easiest way is to copy a simple projection (for example
Mercator) and modify it.
simboss: and where to find some doc
simboss: and if and where to write some doc
simboss: :-)
desruisseaux: Rueben wrote tutorial, but I don't have the link right now, I can
look for it tomorrow.
desruisseaux: Basically we need to overwrite the 'transformNormalized' and
'inverseTransformNormalized' methods.
desruisseaux: Those methods are applying the projection on a spheroid of radius
1 (multiplication or division by the semimajor axis length are performed by the
caller)
desruisseaux: Addition or substraction by centralmeridian is also performed by
the caller
desruisseaux: We also need to defines a Provider static inner class which
defines the parameter expected by the projection
desruisseaux: The easiest way is to look at Mercator1SP.Descriptor (for
example), copy and modify.
desruisseaux: typo: Mercator1SP.Provider
simboss: the tutorial foun on the geotools website
simboss: I would say
simboss: how-to
simboss: are up-to-date?
desruisseaux: I don't know. I can look at them tomorrow...
desruisseaux: Or can you post the link?
desruisseaux: (I means post on IRC)
simboss: http://geotools.codehaus.org/How+to+add+new+projections
aaime: Anything else?
aaime: Or, shall we call it a day?
desruisseaux: From a quick look, the "how to" pointed by Simone seems up to
date.
desruisseaux: I'm done
simboss: great
aaime: Cool
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel