首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • HarmonyOS NEXT 添加地理围栏

    并订阅地理围栏事件,地理围栏就是虚拟地理边界,当设备进入、离开某个特定地理区域时,可以接收自动通知和警告 目前仅支持圆形围栏,并且依赖GNSS芯片的地理围栏功能,仅在室外开阔区域才能准确识别用户进出围栏事件geofence : geoLocationManager.Geofence中的coordinateSystemType表示地理围栏圆心坐标的坐标系,APP应先使用getGeofenceSupportedCoordTypes )=>void): Promise<number> { return new Promise((resolve, reject) => { if (geofence === undefined) { geofence = { latitude: 31.871813745575167 , longitude: 118.82020007987227 , : geoLocationManager.GnssGeofenceRequest = { geofence: geofence, monitorTransitionEvents: transitionStatusList

    44110编辑于 2025-03-17
  • 来自专栏扎心了老铁

    springboot mybatis 事务管理

    geoFence) { String formatTime = TimeFunction.transTimeToFormatPerfect(System.currentTimeMillis ()); geoFence.setCreateTime(formatTime); geoFence.setUpdateTime(formatTime); ()); for (GeoFence geoFence : geoFenceList) { geoFence.setCreateTime(formatTime); geoFence.setUpdateTime(formatTime); } return moonlightMapper.insertBatch ()); geoFence.setCreateTime(formatTime); geoFence.setUpdateTime(formatTime);

    2.3K70发布于 2018-03-05
  • 来自专栏IF奇思社

    使用NS1智能Filter Chain功能配置GeoIP分区解析

    本文中使用的是 Filter Chain 中的 Geofence Country(地理围栏功能)。 image.png 启用相应的 Filter Chain 功能 这里使用到的是 Filter Chain 中的 Geofence Country(地理围栏功能),可以对不同的国家地区设置对应的 DNS image.png 选择Geofence Country,添加到右侧的 Active Filter 列表,并启用。

    97320编辑于 2022-01-18
  • 来自专栏学习

    《深入掌握高德地图 API:全面调用指南与最佳实践》

    def create_geofence(name, center, radius, key): url = f"https://restapi.amap.com/v4/geofence/meta 请求失败") api_key = "你的API Key" center = "116.481488,39.990464" # 中心点 radius = 500 # 半径,单位:米 create_geofence def query_geofence(key): url = f"https://restapi.amap.com/v4/geofence/meta? enable']}") else: print("没有找到地理围栏") else: print("请求失败") def delete_geofence (gid, key): url = f"https://restapi.amap.com/v4/geofence/meta?

    6.3K20编辑于 2024-10-24
  • 来自专栏扎心了老铁

    springboot mybatis redis 二级缓存

    public class GeoFence implements Serializable { // setter和getter省略 } public class GeoFenceParam @Mapper public interface MoonlightMapper { List<GeoFence> queryGeoFence(GeoFenceQueryParam geoFenceQueryParam ); return new ResponseEntity<>( new Response(ResultCode.SUCCESS, "查询geoFence list), HttpStatus.OK); } catch (Exception e) { logger.error("查询geoFence return new ResponseEntity<>( new Response(ResultCode.EXCEPTION, "查询geoFence

    2K70发布于 2018-03-05
  • 从“一句话自动标点”到“地理围栏提醒”:我的 Django + Vue 地图实践分享

    核心链路总览(一句话版) 资讯来源(网页 / 文本 / 链接) → AI 解析提取地点语义 → 地理编码工具获取标准地址与经纬度 → 校验 / 补充属性 → 写入数据库(ProjectData + Geofence 后端用 PostGIS 进行 ST_Contains(geofence.geom, ST_SetSRID(ST_Point(lon,lat),4326)) 判断。 维护一张 device_geofence_state(device_id, geofence_id, in_state, updated_at)。 (one-to-one) Geofence 多边形范围 polygon, active, source_id LocationUpdate 设备位置轨迹 device_id, point, timestamp DeviceGeofenceState 进出状态 device_id, geofence_id, in_state Favorite / Visited / Ignored 用户行为 user_id

    26210编辑于 2026-03-16
  • 来自专栏扎心了老铁

    Mybatis分页插件PageHelper的配置和使用方法

    null"> and createTime <= #{endTime} </if> </select> </mapper> 在Mapper.java接口中编写对应的方法 List<GeoFence geoFenceQueryParam.getPageSize():10; Page page = PageHelper.startPage(pageNum, pageSize, true); List<GeoFence ); return new ResponseEntity<>( new Response(ResultCode.SUCCESS, "查询geoFence data), HttpStatus.OK); } catch (Exception e) { logger.error("查询geoFence return new ResponseEntity<>( new Response(ResultCode.EXCEPTION, "查询geoFence

    5.4K40发布于 2018-03-05
  • 来自专栏扎心了老铁

    Elasticsearch(GEO)空间检索查询

    action) es.bulk(index='mapapp', actions=actions, es=es_handler, max=25) 刷入测试数据,geo_data数据形如: id geofence_type "bool": { "must": [{ "term": { "geofence_type "bool": { "must": [{ "term": { "geofence_type "bool": { "must": [{ "term": { "geofence_type "bool": { "must": [{ "term": { "geofence_type

    8.7K90发布于 2018-03-05
  • 来自专栏我的鸿蒙之旅

    自学记录:学习HarmonyOS Location Kit构建智能定位服务

    代码实现:添加地理围栏async function addGeofence(latitude: number, longitude: number, radius: number) { const geofence // 1小时 }; try { const fenceId = await geoLocationManager.addGnssGeofence({ geofence , monitorTransitionEvents: [ geoLocationManager.GeofenceTransitionEvent.GEOFENCE_TRANSITION_EVENT_ENTER , geoLocationManager.GeofenceTransitionEvent.GEOFENCE_TRANSITION_EVENT_EXIT,

    46020编辑于 2024-12-31
  • 来自专栏酒楼

    HarmonyOS位置服务

    需要权限:ohos.permission.APPROXIMATELY_LOCATION 系统能力:SystemCapability.Location.Location.Geofence 参数: 参数名 Location service is unavailable. 3301100 The location switch is off. 3301600 Failed to operate the geofence wantAgent.getWantAgent(wantAgentInfo).then((wantAgentObj) =>{ let requestInfo = {'priority': 0x201,'scenario':0x301,"geofence

    69210编辑于 2023-11-25
  • 来自专栏酒楼

    HarmonyOS位置服务

    需要权限:ohos.permission.APPROXIMATELY_LOCATION 系统能力:SystemCapability.Location.Location.Geofence 参数: 参数名 Location service is unavailable. 3301100 The location switch is off. 3301600 Failed to operate the geofence wantAgent.getWantAgent(wantAgentInfo).then((wantAgentObj) =>{ let requestInfo = {'priority': 0x201,'scenario':0x301,"geofence

    84210编辑于 2023-12-09
  • 来自专栏数据分析

    [PostgreSQL]从MySQL迁移PostgreSQL:算法团队踩过的7个坑

    merchant_lon, merchant_lat)::geography);方案IV:Polygon方向验证与修复-- 检查Polygon有效性SELECT ST_IsValidReason(geofence geofence = ST_ForcePolygonCCW(geofence)WHERE NOT ST_IsValid(geofence);-- 确保闭合UPDATE business_districtsSET geofence = ST_AddPoint(geofence, ST_StartPoint(geofence))WHERE NOT ST_Equals(ST_StartPoint(geofence) , ST_EndPoint(geofence));-- 验证包含关系SELECT user_id, district_nameFROM users uJOIN business_districts d ON ST_Contains(d.geofence, u.location::geometry)WHERE ST_IsValid(d.geofence);7.4 迁移验证工具#!

    70910编辑于 2025-12-11
  • 来自专栏新智元

    CVPR 2021大奖公布!何恺明获最佳论文提名,代码已开源!

    Lei_Less_Is_More_ClipBERT_for_Video-and-Language_Learning_via_Sparse_Sampling_CVPR_2021_paper.html Binary TTC: A Temporal Geofence https://openaccess.thecvf.com/content/CVPR2021/html/Badki_Binary_TTC_A_Temporal_Geofence_for_Autonomous_Navigation_CVPR

    94731发布于 2021-07-06
  • Android开发者不可或缺的四大工具

    这些SDK包括: Gimbal Geofence:旨在提供基于地理围栏的低功耗位置识别服务。这一工具将赋予应用“环境感知”功能,即能够根据用户所在的位置对用户做出有益调整。

    1.5K70发布于 2018-05-09
  • 来自专栏Elton的技术分享博客

    基于位置的实时游戏MapAttack的技术实现

    Geofence在这里指地图上带有数字的小圆圈,玩家进入这些小圆圈后,就会得到与圆圈中所标记数字相同的分数,它所在小组的总分数也会相应增加,同时圆圈的颜色会变成该玩家小组的颜色。

    2.1K20发布于 2021-01-26
  • 来自专栏.NET 全栈开发专栏

    高德地图 错误码说明 对照表

    3840000QUOTA_PLAN_RUN_OUT余额耗尽所购买服务的余额耗尽,无法继续使用服务3940001GEOFENCE_MAX_COUNT_REACHED围栏个数达到上限Key可创建的地理围栏的数量

    4.9K50编辑于 2023-10-31
  • 来自专栏CSDN技术头条

    我们如何使用Go打造了Uber QPS最高的服务

    2015年初,我们建立了一个微服务来负责这项任务:地理围栏查找(geofence lookups),结果完成很出色。

    1.5K100发布于 2018-02-11
  • 来自专栏机器之心

    CVPR 2021奖项出炉:最佳论文花落马普所,何恺明获提名,首届黄煦涛纪念奖颁布

    论文 2:《Binary TTC: A Temporal Geofence for Autonomous Navigation》 论文作者:Abhishek Badki、Orazio Gallo、Jan 对于这种情况,该研究的方法在 6.4 毫秒内提供了一个临时地理围栏(temporal geofence),比现有方法快 25 倍多。

    47920编辑于 2023-03-29
  • 来自专栏计算机视觉工坊

    CVPR 2021奖项出炉:最佳论文花落马普所,何恺明获提名,首届黄煦涛纪念奖颁布

    论文 2:《Binary TTC: A Temporal Geofence for Autonomous Navigation》 论文作者:Abhishek Badki、Orazio Gallo、Jan 对于这种情况,该研究的方法在 6.4 毫秒内提供了一个临时地理围栏(temporal geofence),比现有方法快 25 倍多。

    85040发布于 2021-07-05
  • 来自专栏量子位

    何恺明上榜CVPR 2021获奖名单,4篇「最佳」是华人一作

    : https://arxiv.org/abs/2102.06183 源代码: https://github.com/jayleicn/ClipBERT Binary TTC: A Temporal Geofence

    59620发布于 2021-07-19
领券