<div dir="ltr">That's great Tom, thanks for doing that.<div><br></div><div>GeoTrellis actually uses proj4j, but we imported the codebase into our project. <a href="https://github.com/geotrellis/geotrellis/tree/master/proj4/src/main/java/org/osgeo/proj4j">https://github.com/geotrellis/geotrellis/tree/master/proj4/src/main/java/org/osgeo/proj4j</a></div><div><br></div><div>I'd like to switch to using the dependency on maven now, but we added is making the following classes implement Serializable: Projection, GeocentricConverter, Ellipsoid, Datum, and CoordinateReferenceSystem. We need these to be serializable because we ship around CoordinateReferenceSystem objects when using GeoTrellis on top of a Spark cluster. If no on is opposed, I could make that change and GeoTrellis could then switch over to using the maven central JAR after it's released.</div><div><br></div><div>Another change made by a contributor from Sweden was the replacing of commas in decimal strings with periods (which is necessary in the case that localization creates commas instead of periods). That happened in these places in ProjCoordinate:</div><div><a href="https://github.com/geotrellis/geotrellis/blob/master/proj4/src/main/java/org/osgeo/proj4j/ProjCoordinate.java#L399">https://github.com/geotrellis/geotrellis/blob/master/proj4/src/main/java/org/osgeo/proj4j/ProjCoordinate.java#L399</a><br></div><div><a href="https://github.com/geotrellis/geotrellis/blob/master/proj4/src/main/java/org/osgeo/proj4j/ProjCoordinate.java#L401">https://github.com/geotrellis/geotrellis/blob/master/proj4/src/main/java/org/osgeo/proj4j/ProjCoordinate.java#L401</a><br></div><div><br></div><div>I'd be happy to start contributing to this codebase. Is the project still using SVN or is there active development on this github repo: <a href="https://github.com/Proj4J/proj4j">https://github.com/Proj4J/proj4j</a>?</div><div><br></div><div>Also, Martin was there any thoughts about putting this into the LocationTech ecosystem? Since JTS is making it's way there, and GeoTrellis relies on it, and some infrastructure would be present there, it's an option worth considering.</div><div><br></div><div>Best,</div><div>Rob</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 21, 2015 at 1:19 PM, Tom Arnold <span dir="ltr"><<a href="mailto:tom9729@gmail.com" target="_blank">tom9729@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Proj4j has been uploaded to Maven central: <a href="http://search.maven.org/#artifactdetails%7Corg.osgeo%7Cproj4j%7C0.1.0%7Cjar" target="_blank">http://search.maven.org/#artifactdetails|org.osgeo|proj4j|0.1.0|jar</a><br><br></div>I had to change the POM file to meet the OSSRH requirements. Martin: Can you merge these into SVN? You should update the SCM section in the POM to point at SVN instead of my Github mirror. Here's a summary of the commits:<br><br>Added project info to (like mailing list, license). <br>Added release profile (add -P release) to build source/javadoc jars and gpg sign artifacts.<br></div><div><br><a href="https://github.com/Tom9729/proj4j/commit/9e7ed7a23110040b0d2bd48507c5c28d4b1cbb28" target="_blank">https://github.com/Tom9729/proj4j/commit/9e7ed7a23110040b0d2bd48507c5c28d4b1cbb28</a><br><br>Changed version to 0.2.0-SNAPSHOT since 0.1.0 has been released and tagged.<br><br><a href="https://github.com/Tom9729/proj4j/commit/36de72346d0916ec51b973aaf141c7925a1b70ac" target="_blank">https://github.com/Tom9729/proj4j/commit/36de72346d0916ec51b973aaf141c7925a1b70ac</a><br></div><br></div><div>I will make a follow-up post on the release process.<br><br></div><div>Thanks!<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Tom<br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 3, 2015 at 8:24 PM, Martin Davis <span dir="ltr"><<a href="mailto:mtnclimb@gmail.com" target="_blank">mtnclimb@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">All sounds excellent, Tom. Carry on with the one-time upload!</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 3, 2015 at 5:13 PM, Tom Arnold <span dir="ltr"><<a href="mailto:tom9729@gmail.com" target="_blank">tom9729@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><span><div>> Is keeping the lib updated an ongoing manual process, or can it be automated as part of a build?<br><br></div></span>I think it can be done either way. My goal for now is to do a one-time upload to get something out there. I'm thinking it will be easier to make it automated once the project moves to GitHub. For example, Travis CI (<a href="http://docs.travis-ci.com/user/getting-started/" target="_blank">http://docs.travis-ci.com/user/getting-started/</a>) is a service integrated with GitHub and does a build for every commit, so you could use this to upload snapshots to central automatically (more on this below).<br></div><span><div><br>> I guess the version # in the pom acts as a unique key, so there's no
problem pushing new versions as long as it is incremented
appropriately...<br><br></div></span>Pretty much!<br><br>A nightly build from trunk would be published as a snapshot; snapshots automatically have a timestamp added to the version to make them unique, and it's considered bad practice to depend on snapshots when you go to do a release. I think Travis CI could be setup to automatically upload these snapshot builds to Maven central. This would be a way for people to get the latest version of the library without building it themselves.<br></div><div><br></div>Every once in awhile someone should cut a release and upload to central. The version number for the release would have to be incremented. I think this can be mostly automated; perhaps by using the maven-release-plugin.</div><div><br></div>Thanks,<br>Tom<br> </div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 3, 2015 at 12:32 AM, Martin Davis <span dir="ltr"><<a href="mailto:mtnclimb@gmail.com" target="_blank">mtnclimb@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Happy for you to do it!<div><br></div><div>Is keeping the lib updated an ongoing manual process, or can it be automated as part of a build? I guess the version # in the pom acts as a unique key, so there's no problem pushing new versions as long as it is incremented appropriately...</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 2, 2015 at 8:53 PM, Tom Arnold <span dir="ltr"><<a href="mailto:tom9729@gmail.com" target="_blank">tom9729@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Martin,<br><br>I've never done it, but it looks like
it should be pretty straightforward. Sonatype has a guide here:
<a href="http://central.sonatype.org/pages/ossrh-guide.html" target="_blank">http://central.sonatype.org/pages/ossrh-guide.html</a><br></div><br></div>Basically
you need to make an account and submit a JIRA ticket for proj4j to be
added. Someone will review in a couple of days and then give you access
to upload the library.<br><br></div>Do you want me to go ahead and do this, or would you rather take care of it?<br><br></div>Thanks!<span><font color="#888888"><br>Tom</font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 2, 2015 at 11:22 PM, Martin Davis <span dir="ltr"><<a href="mailto:mtnclimb@gmail.com" target="_blank">mtnclimb@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Seems like a great idea! What's involved with doing this?</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Feb 2, 2015 at 6:11 PM, Tom Arnold <span dir="ltr"><<a href="mailto:tom9729@gmail.com" target="_blank">tom9729@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div>Is there any plan to upload the current version of proj4j to Maven central?<br><br></div>This would make it easier to use in projects that cannot easily add 3rdparty repos.<br><br></div>I'm willing to help out if possible.<br><br>Thanks!<span><font color="#888888"><br>Tom<br></font></span></div>
<br></div></div>_______________________________________________<br>
Proj4j mailing list<br>
<a href="mailto:Proj4j@lists.osgeo.org" target="_blank">Proj4j@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/proj4j" target="_blank">http://lists.osgeo.org/mailman/listinfo/proj4j</a><br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Proj4j mailing list<br>
<a href="mailto:Proj4j@lists.osgeo.org">Proj4j@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/proj4j" target="_blank">http://lists.osgeo.org/mailman/listinfo/proj4j</a><br></blockquote></div><br></div>