<p>This user <a href="https://www.openstreetmap.org/user/jojkuhiuwer/traces" rel="nofollow">https://www.openstreetmap.org/user/jojkuhiuwer/traces</a> uploads identical traces every minute. Can we add a simple check to prevent broken upload scripts?</p>
<p>E.g.: before inserting a new trace, check table <code>gpx_files</code> for an existing trace where visible = true, inserted = true and new trace has identical user_id,  size, latitude, longitude, description and visibility. If a match exist, reject the upload with an error message.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2259?email_source=notifications&email_token=AAK2OLKWGV2OY55YIYOTWHLP2SPXRA5CNFSM4HYOQXX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZV2UVQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNHJYX6Z37II6B4Z63P2SPXRANCNFSM4HYOQXXQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLNN56JIESSVUPPU2A3P2SPXRA5CNFSM4HYOQXX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZV2UVQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2259?email_source=notifications\u0026email_token=AAK2OLKWGV2OY55YIYOTWHLP2SPXRA5CNFSM4HYOQXX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZV2UVQ",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2259?email_source=notifications\u0026email_token=AAK2OLKWGV2OY55YIYOTWHLP2SPXRA5CNFSM4HYOQXX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZV2UVQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>