<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<!-- Template generated by Exclaimer Mail Disclaimers on 08:40:53 tisdag, 20 oktober 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">P.ImprintUniqueID {
MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
page: Section1
}
</style>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.E-postmall17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="SV" link="blue" vlink="purple">
<p class="ImprintUniqueID"></p>
<div class="WordSection1">
<p class="MsoNormal">Hi!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I dont know if this is an active forum, but I’ll try my luck here as I have combed the internet for examples of scripts for my problem.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have a SHP Feature Source containing multiple ”managed” SHP-files, that individually form the data source of many separate layers.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I need to update these SHP-files regularly, and would really a script that updates the SHP-files in the feature source using a local folder of SHP-files from my desktop. Ideally, the layers linked to the data source would then automatically
be using the up-to-date SHP-files.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have been staring at the ”FeatureSourceFindAndReplace” script found here (<a href="https://trac.osgeo.org/mapguide/wiki/CodeSamples/Other/MaestroScripts/FeatureSourceFindAndReplace#no1">https://trac.osgeo.org/mapguide/wiki/CodeSamples/Other/MaestroScripts/FeatureSourceFindAndReplace#no1</a>),
but rather than replacing a featuresource, I would like to update the SHP-files of the current SHP Feature Source. Or is there a better way of going about this?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If there are any Mapguide scripting pro’s out there, I would appreciate a little pointer. Thanks a lot!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/Albin<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p></p>
<p class="ImprintUniqueID"> </p>
<p class="ImprintUniqueID"></p>
<hr id="HR1">
<p></p>
<p class="ImprintUniqueID" align="left">
<table class="3a035fdc-c076-4c1a-9154-72a8a037c413Table" style="font-family:Arial;">
<tbody>
<tr>
<td style="font-style: normal; font-size: x-small; font-family: Arial; border-style: none none none none; table-layout: fixed" nowrap="1" colspan="2" align="Center">
<font style="font-family:Arial;"><img style="border: 0px Solid ; " src="cid:imagebe63eb.JPG@d4f47de1.4bbd8d06"></font></td>
</tr>
<tr>
<td style="font-style: normal; font-size: x-small; font-family: Arial; border-style: none none none none; table-layout: fixed" nowrap="1" align="Center">
<font style="font-family:Calibri;font-size:12pt;font-weight:bold;"><font style="font-family:Arial;">Albin Tveitan Käppi</font></font></td>
</tr>
<tr>
<td style="font-style: normal; font-size: x-small; font-family: Arial; border-style: none none none none; table-layout: fixed" nowrap="1" align="Center">
<font style="font-family:Calibri;font-size:10pt;font-weight:normal;"><font style="font-family:Arial;">GIS-ingenjör</font></font></td>
</tr>
<tr>
<td style="font-style: normal; font-size: x-small; font-family: Arial; border-style: none none none none; table-layout: fixed" nowrap="1" height="10px" align="Center">
</td>
</tr>
<tr>
<td style="font-style: normal; font-size: x-small; font-family: Arial; border-style: none none none none; table-layout: fixed; white-space: nowrap;" nowrap="1" align="Center">
<font style="font-family:Calibri;font-size:11pt;font-weight:normal;"><font style="font-family:Arial;font-size:11pt;font-weight:normal;">274 80 Skurup</font></font></td>
</tr>
<tr>
<td style="font-style: normal; font-size: x-small; font-family: Arial; border-style: none none none none; table-layout: fixed" nowrap="1" align="Center">
</td>
</tr>
<tr>
<td style="font-style: normal; font-size: x-small; font-family: Arial; border-style: none none none none; table-layout: fixed" nowrap="1" align="Center">
<font style="font-family:Calibri;font-size:11pt;"><font style="font-family:Arial;font-size:11pt;">Telefon:
</font><font style="font-family:Arial;">0411-53 63 84</font></font></td>
</tr>
<tr>
<td style="font-style: normal; font-size: x-small; font-family: Arial; border-style: none none none none; table-layout: fixed" nowrap="1" align="Center">
<font style="font-family:Calibri;font-size:11pt;"><span style="font-family:Calibri;font-size:11pt;"><a href="mailto:albin.tveitankappi@skurup.se" title="Click to send email to Albin Tveitan Käppi" target="" style="font-family:Calibri;font-size:11pt;"><span style="font-family:Calibri; font-size:11pt;">albin.tveitankappi@skurup.se</span></a></span></font></td>
</tr>
<tr>
<td style="font-style: normal; font-size: x-small; font-family: Arial; border-style: none none none none; table-layout: fixed" nowrap="1" align="Center">
<font style="font-family:Calibri;font-size:11pt;"><span style="font-family:Calibri;font-size:11pt;"><a href="http://www.skurup.se" title="" target="" style="font-family:Calibri;font-size:11pt;"><span style="font-family:Calibri; font-size:11pt;">www.skurup.se</span></a></span></font></td>
</tr>
<tr>
<td style="font-style: normal; font-size: x-small; font-family: Arial; border-style: none none none none; table-layout: fixed" nowrap="1" align="Center">
<font style="font-family:Arial;"><font style="font-family:Arial;"><font style="font-family:Arial;"> </font></font></font></td>
</tr>
<tr>
<td style="font-style: normal; font-size: x-small; font-family: Arial; border-style: none none none none; table-layout: fixed" nowrap="1" align="Center" valign="Bottom">
<font style="font-family:Arial;"><font style="font-family:Arial;"><a href="https://www.facebook.com/skurupskommun" target=""><img style="border: 0px Solid ; " src="cid:image2deef7.PNG@aa06e3b5.429bd733"></a></font></font></td>
</tr>
<tr>
<td style="font-style: normal; font-size: x-small; font-family: Arial; border-style: none none none none; table-layout: fixed" nowrap="1">
<font style="font-family:Arial;"><font style="font-family:Arial;"></font></font></td>
</tr>
<tr>
<td style="font-style: normal; font-size: x-small; font-family: Arial; border-style: none none none none; table-layout: fixed" nowrap="1" align="Center">
<font style="font-family:Arial;"><span style="font-family:Arial;font-size:8pt;"><a href="https://www.skurup.se/kommun-och-politik-behandling-av-personuppgifter " title="" target="" style="font-family:Arial;font-size:8pt;"><span style="font-family:Arial; font-size:8pt;">Information
om hur vi hanterar dina personuppgifter</span></a></span></font></td>
</tr>
<tr>
<td style="font-style: normal; font-size: x-small; font-family: Arial; border-style: none none none none; table-layout: fixed" nowrap="1" align="Center">
<font style="font-family:Arial;"><font style="font-family:Arial;">Läs mer om oss i
</font><span style="font-family:Arial;"><a href="https://www.sebroschyr.se/Skurups_Kommun/MailView/" title="" target="" style="font-family:Arial;"><span style="font-family:Arial;">vår broschyr!</span></a></span></font></td>
</tr>
</tbody>
</table>
</p>
<p class="ImprintUniqueID" align="left"> </p>
<p class="ImprintUniqueID" align="left"> </p>
<p class="ImprintUniqueID"><font face="Arial"></font> </p>
<p class="ImprintUniqueID"></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
</body>
</html>