Hi David,
So I ran the script the following is the content of the run-log.txt
file
C:\Simple_Build_Tool\mapnik2geotools>set SCRIPT_DIR=C:
\Simple_Build_Tool\mapnik2geotools\
C:\Simple_Build_Tool\mapnik2geotools>java -Xmx512M -jar "C:
\Simple_Build_Tool\mapnik2geotools\sbt-launch-0.7.5.jar" "run Mapquest-
Mapnik/mapquest-us.xml"
[info] Building project mn2gt 0.1 against Scala 2.8.0
[info] using Mapnik2GeoToolsProject with sbt 0.7.4 and Scala 2.7.7
[info]
[info] == compile ==
[info] Source analysis: 0 new/modified, 0 indirectly invalidated, 0
removed.
[info] Compiling main sources...
[info] Nothing to compile.
[info] Post-analysis: 138 classes.
[info] == compile ==
[info]
[info] == copy-resources ==
[info] == copy-resources ==
[info]
[info] == run ==
[info] Running Driver Mapquest-Mapnik/mapquest-us.xml
org.xml.sax.SAXParseException: The entity name must immediately follow
the '%' in the parameter entity reference.
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.scanEntityValue(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.scanEntityDecl(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.scanDecls(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.scanDTDInternalSubset(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
$DTDDriver.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
$DTDDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
$PrologDriver.next(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at scala.xml.factory.XMLLoader$class.loadXML(XMLLoader.scala:40)
at scala.xml.XML$.loadXML(XML.scala:40)
at scala.xml.factory.XMLLoader$class.load(XMLLoader.scala:54)
at scala.xml.XML$.load(XML.scala:40)
at Driver$$anonfun$main$1.apply(Driver.scala:51)
at Driver$$anonfun$main$1.apply(Driver.scala:48)
at scala.collection.LinearSeqOptimized
$class.foreach(LinearSeqOptimized.scala:61)
at scala.collection.immutable.List.foreach(List.scala:45)
at Driver$.main(Driver.scala:48)
at Driver.main(Driver.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sbt.Run.run0(Run.scala:60)
at sbt.Run.execute$1(Run.scala:47)
at sbt.Run$$anonfun$run$2.apply(Run.scala:50)
at sbt.Run$$anonfun$run$2.apply(Run.scala:50)
at sbt.TrapExit$.executeMain$1(TrapExit.scala:33)
at sbt.TrapExit$$anon$1.run(TrapExit.scala:42)
[info] == run ==
[error] Error running run: Nonzero exit code: 1
[info]
[info] Total time: 1 s, completed 13-Apr-2011 13:58:26
[info]
[info] Total session time: 1 s, completed 13-Apr-2011 13:58:26
[error] Error during build.
I created copies of the template files I made minimal changes to the
settings.xml.inc I changed line 9 to this
<!ENTITY osm2pgsql_projection "&srs900913;">
I also download these files
http://tile.openstreetmap.org/world_boundaries-spherical.tgz
and extracted them to a folder named world_boundaries which I put at
the same level in the folder structure as the file mapquest-us.xml. In
fontset-settings.xml.inc I removed the unifont entries, I didn't make
any change to the datasource-settings.xml.inc.template file as I have
no idea what I need to do to set the extent manually so I just saved a
copy as datasource-settings.xml.inc. I have never worked with any
environment like this before my background is as a developer using
using Visual Studio to write c,c++ and c# code to process and
visualise data so forgive me if I am missing something obvious here.
If you need any more information let me know.
Thanks for your help.
Blaithín
On Apr 13, 1:29 pm, David Winslow <
dwins...@opengeo.org> wrote:
> Could you copy the errors you're getting to a file and send it to this
> mailing list? It is difficult to troubleshoot without seeing the error
> report from the running code.
>
> One easy way to get all the errors into a file is to run like this:
>
> sbt "run ../MapQuest-Mapnik-Style/mapquest-us.xml " > run-log.txt
>
> --
> David Winslow
> OpenGeo -
http://opengeo.org/
>
>
>
>
>
>
>
> On Wed, Apr 13, 2011 at 7:30 AM, Beekay <
blaithin.kenn...@gmail.com> wrote:
> > Hi David,
> > I have compiled the Mapnik2GeoToolsProject. When I call run without
> > any parameters it appears to have no issues. However when I call run
> > and pass it one of the Mapquest Mapnik style files I downloaded from
> > herehttps://
github.com/MapQuest/MapQuest-Mapnik-StyleI have start to