<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><span id="result_box" lang="en"><span title="Hola Brent, he probado ahora tus notas sobre la Hydrography del OSM.">Hello Brent, have now tested your notes on Hydrography OSM. </span><span title="Cuando activo la capa MapQuest OSM del Catalog se realizan muchas llamadas del tipo:
">When active the MapQuest OSM Catalog type layer many calls are made:<br><br></span><span title="http://otile1.mqcdn.com/tiles/1.0.0/osm/10/81586/63404.png
">http://otile1.mqcdn.com/tiles/1.0.0/osm/10/81586/63404.png<br><br></span><span title="pero todas tienen el resultado 404 not found.">but all have not found 404 results. </span><span title="Y cuando hago click en el hipervínculo de "report" de feature_report.php se muestran estos errores:
">And when I click on the hyperlink "report" of feature_report.php these errors are displayed:<br><br></span><span title="Warning: ms_newMapObj(): [MapServer Error]: msLoadMap(): MS_DEFAULT_MAPFILE_PATTERN validation failed.
">Warning: ms_newMapObj(): [MapServer Error]: msLoadMap(): MS_DEFAULT_MAPFILE_PATTERN validation failed.<br> in C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line 45<br><br>Warning: ms_newMapObj(): [MapServer Error]: msEvalRegex(): String failed expression test.<br> in C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line 45<br><br>Fatal error: Uncaught exception 'MapScriptException' with message 'Failed to open map file "/ms4w/apps/geomoose2/maps/"' in C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php:45<br>Stack trace:<br>#0 C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php(45): ms_newMapObj('/ms4w/apps/geom...')<br>#1 {main}<br> thrown in C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line 45</span><span title="thrown in C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line 45
"><br><br></span><span title="I've seen the Regular expression error.">I've seen the Regular expression error. </span><span title="MS_DEFAULT_MAPFILE_PATTERN validation failed error when the extension to the map file in the URL is incorrect.
">MS_DEFAULT_MAPFILE_PATTERN failed validation error when the extension to the map file in the URL is incorrect.<br><br></span><span title="Quizás el problema esté relacionado con mi errónea proyección del dibujo en ArcGIS, pero como ya comenté al principio de mi consulta en la lista de correo, para nuestro proyecto no necesitamos proyección alguna, sólo necesitamos que se visualize el dibujo y que se pueda consultar sobre">Perhaps
the problem is related to my erroneous projection of drawing in ArcGIS,
but as I said at the beginning of my practice in the mailing list for
our project does not need any projection, only we need the drawing
visualize and can be consulted on </span><span title="él.">it. </span><span title="Por ahora no utilizaremos el "feature_report".">For now we will not use the "feature_report". </span><span title="Gracias por todo.">Thanks for everything.</span></span><br><br><div><hr id="stopSpelling">Date: Mon, 1 Jun 2015 17:09:55 -0600<br>From: bfraser@geoanalytic.com<br>To: nando_gcia@hotmail.com; geomoose-users@lists.osgeo.org<br>Subject: Re: [Geomoose-users] Feature Report error with Identify Tool<br><br>
I need to correct the information is sent. The first part of the
instructions below ("Edit the feature_report service...") is not
necessary as the key field name is specified in the template
("<query item="), not the service definition.<br>
<pre class="ecxmoz-signature">Best Regards,
Brent Fraser</pre>
<div class="ecxmoz-cite-prefix">On 6/1/2015 10:57 AM, Brent Fraser
wrote:<br>
</div>
<blockquote cite="mid:556C8F0C.8040606@geoanalytic.com">
There doesn't seem to be a lot of documentation for the Feature
Report service, so I made some notes:<br>
<br>
<h2 dir="ltr" style="line-height:1.38;" id="ecxdocs-internal-guid-90edab18-b00a-ad6f-c3cf-f93d774eb1a2"><span style="font-size:19px;font-family:Arial;color:#000000;background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">Feature
Reports</span></h2>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">Edit
(or copy) the feature_report service in the mapbook to add the
key field, for example:</span></p>
<br>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
<service name="feature_report</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">_Hydrography</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">"
display="false" keep-others="true"></span></p>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
<url>php/feature_report.php</url></span></p>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
<input type="hidden" name="layers"
value="Backgrounds/osm"/></span></p>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
<input type="hidden" name="src"/></span></p>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
<input type="hidden" name="</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">BF_ID</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">"/></span></p>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</service></span></p>
<br>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">Add
the metadata to the feature’s map file:</span></p>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">METADATA</span></p>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">'identify_record'
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">'BF_HYDRO_POLYGON_identify.html'</span></p>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">'popups'
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">'BF_HYDRO_POLYGON_popups.html'</span></p>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">'feature_report'
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;"> </span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">'BF_HYDRO_POLYGON_report.xml'</span></p>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">END
# of METADATA</span></p>
<br>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">Edit
the _identify template to add a link to generate and view the
report. For example my </span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">BF_HYDRO_POLYGON_identify.html
</span><span style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">template
has:<br>
</span></p>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;"><tr><td
align="left"><b><a href = "<a class="ecxmoz-txt-link-freetext" target="_blank">javascript:GeoMOOSE.startService(</a></span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">'feature_report_Hydrography'</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">,
{</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">'BF_ID'</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
: '[</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">BF_ID</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">]',
'src' :
'Hydrography/Lakes'})">Report</a></b></td></tr></span></p>
<br>
<br>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">Create
the report xml file (in my case the file is named </span><span style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">BF_HYDRO_POLYGON_report.xml</span>)
modifying the key name and the PDF report name:<br>
</span></p>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
<query item="</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">BF_ID</span><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">"
string="%qstring%"/></span></p>
<br>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
<!-- This is the template --></span></p>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
<template>BF_HYDRO_POLYGON_template.pdf</template></span></p>
<br>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">Create
the report PDF file</span></p>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">
</span><span style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">Copy
the parcel_template.pdf to the name you entered in the report
xml file, for example:</span></p>
<br>
<p dir="ltr" style="line-height:1.38;"><span style="font-size:12px;font-family:'Courier New';color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;">copy
parcel_template.pdf BF_HYDRO_POLYGON_template.pdf</span></p>
<br></blockquote><br></div> </div></body>
</html>